Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "math/base/assert/is-finitef/docs/types/index.d"

Index

Functions

Functions

Export assignment isfinitef

  • isfinitef(x: number): boolean
  • Tests if a single-precision floating-point numeric value is finite.

    Parameters

    • x: number

      value to test

    Returns boolean

    boolean indicating whether the value is finite

    Example

    var bool = isfinitef( 5.0 );
    // returns true

    Example

    var bool = isfinitef( -2.0e64 );
    // returns true

    Example

    var bool = isfinitef( Infinity );
    // returns false

    Example

    var bool = isfinitef( -Infinity );
    // returns false