ts-fortress
    Preparing search index...

    Variable asInt8Const

    asInt8: typeof castType

    Casts a number to the Int8 branded type.

    Validates that the value is an integer in [-128, 127] and returns it with the Int8 brand. Throws a TypeError otherwise.

    The value to cast

    The value as an Int8

    If the value is not an integer in [-128, 127]