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

    Type guard that checks if a value is a non-negative integer in [0, 2^31).

    Returns true for a non-negative integer in [0, 2^31) — a value with no fractional component.

    Type Declaration

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

        • a: number

        Returns a is NonNegativeInt32

        true if the value is a non-negative integer in [0, 2^31), false otherwise