ts-data-forge
    Preparing search index...

    Variable isUint16Const

    isUint16: (a: number) => a is Uint16 = is

    Type guard that checks if a value is a non-negative integer less than 2^16.

    Returns true for a non-negative integer less than 2^16 — a value with no fractional component.

    Type Declaration

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

        • a: number

        Returns a is Uint16

        true if the value is a non-negative integer less than 2^16, false otherwise