ts-fortress
    Preparing search index...

    Variable asUint8Const

    asUint8: typeof castType

    Casts a number to the Uint8 branded type.

    Validates that the value is an non-negative integer less than 256 and returns it with the Uint8 brand. Throws a TypeError otherwise.

    The value to cast

    The value as an Uint8

    If the value is not an non-negative integer less than 256