ts-data-forge
    Preparing search index...

    Variable isInt8Const

    isInt8: (x: number) => x is Int8 = is

    Type guard that checks if a value is an integer in [-128, 127].

    Returns true for an integer in [-128, 127] — a value with no fractional component.

    Type Declaration

      • (x: number): x is Int8
      • Parameters

        • x: number

        Returns x is Int8

        true if the value is an integer in [-128, 127], false otherwise