Function isInputType

  • Type guard for input types.

    Type Parameters

    Parameters

    • options: Options<any>

      options to check

    • Rest ...inputs: I[]

      allowed inputs

    Returns options is Options<I>

    if the input is one of the allowed inputs

Generated using TypeDoc