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

    Type guard that checks if a value is a non-zero integer.

    Returns true for a non-zero integer — a value with no fractional component, including values outside the safe integer range (unlike SafeInt).

    Type Declaration

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

        • a: number

        Returns a is NonZeroInt

        true if the value is a non-zero integer, false otherwise