Function instanceOfState

  • Check if a given object implements the State interface.

    Parameters

    • value: object

    Returns boolean