ts-data-forge
    Preparing search index...

    Variable isInt16Const

    isInt16: (a: number) => a is Int16 = is

    Type guard that checks if a value is an integer in [-2^15, 2^15).

    Returns true for an integer in [-2^15, 2^15) — a value with no fractional component.

    Type Declaration

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

        • a: number

        Returns a is Int16

        true if the value is an integer in [-2^15, 2^15), false otherwise