Type alias Typeguard<T>

Typeguard<T>: ((x) => x is T) | ((x) => boolean)

Type Parameters

Type declaration

    • (x): x is T
    • Parameters

      Returns x is T

Type declaration

    • (x): boolean
    • Parameters

      Returns boolean

Generated using TypeDoc