Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "assert/is-prng-like/docs/types/index.d"

Index

Functions

Functions

Export assignment isPRNGLike

  • isPRNGLike(v: any): boolean
  • Tests if a value is PRNG-like.

    Parameters

    • v: any

      value to test

    Returns boolean

    boolean indicating if a value is PRNG-like

    Example

    var randu = require( `@stdlib/random/base/randu` );
    
    var bool = isPRNGLike( randu );
    // returns true
    
    bool = isPRNGLike( [] );
    // returns false