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

    Type guard that checks if a value is a positive integer in [1, 2^32).

    Returns true for a positive integer in [1, 2^32) — a value with no fractional component.

    Type Declaration

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

        • a: number

        Returns a is PositiveUint32

        true if the value is a positive integer in [1, 2^32), false otherwise