• Checks whether the given value is an OnEvent sender.

    Type Parameters

    • TEvent extends any[]

      Expected event type.

    • TOther = unknown

      Another type the value may have.

    Parameters

    • value: TOther | OnEvent<TEvent>

      A value to check.

    Returns value is OnEvent<TEvent>

    true if the value has been created by onEventBy function or in compatible way, or false otherwise.

Generated using TypeDoc