Options
All
  • Public
  • Public/Protected
  • All
Menu

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

Index

Functions

Functions

Export assignment isfinite

  • isfinite(x: number): boolean
  • Tests if a double-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 = isfinite( 5.0 );
    // returns true

    Example

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

    Example

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

    Example

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