Type alias Guard<T>

Guard<T>: ((input) => input is T)

Type Parameters

  • T

    The validated type

Type declaration

    • (input): input is T
    • Parameters

      • input: unknown

      Returns input is T