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

    Checks if a number is a NonZeroUint16 (16-bit non-zero unsigned integer in the range [1, 2^16)).

    Type Declaration

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

        • a: number

        Returns a is PositiveUint16

        true if the value is a NonZeroUint16, false otherwise.