ts-fortress
    Preparing search index...

    Variable isNonZeroInt16Const

    isNonZeroInt16: (a: number) => a is TtfImported_NonZeroInt16

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

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

    Type Declaration

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

        • a: number

        Returns a is TtfImported_NonZeroInt16

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