ts-data-forge
    Preparing search index...

    Variable isInt8Const

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

    Type guard that checks if a value is an 8-bit signed integer.

    An Int8 is a signed integer in the range [-128, 127], representing values that fit in exactly 8 bits of memory.

    Type Declaration

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

        • x: number

        Returns x is Int8

        true if the value is an Int8, false otherwise