Options
All
  • Public
  • Public/Protected
  • All
Menu

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

Index

Functions

Functions

Export assignment isComplex128

  • isComplex128(value: any): boolean
  • Tests if a value is a 128-bit complex number.

    Parameters

    • value: any

      value to test

    Returns boolean

    boolean indicating if a value is a 128-bit complex number

    Example

    var Complex128 = require( `@stdlib/complex/float64` );
    
    var x = new Complex128( 4.0, 2.0 );
    
    var bool = isComplex128( x );
    // returns true