ts-data-forge
    Preparing search index...
    isFiniteNumber: (a: number) => a is FiniteNumber = is

    Type guard that checks if a value is a finite number.

    Returns true if the value is a finite number (not NaN, Infinity, or -Infinity). This is stricter than the standard number type, which includes these special values.

    Type Declaration

      • (a: number): a is FiniteNumber
      • Parameters

        • a: number

        Returns a is FiniteNumber

        true if the value is finite, false otherwise