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

    Type guard that checks if a value is a negative integer.

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

    Type Declaration

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

        • a: number

        Returns a is NegativeInt

        true if the value is a negative integer, false otherwise