Function isStatebot

  • isStatebot(object: any): boolean
  • Tests that an object is a TStatebotFsm.

    Example

    import { Statebot } from 'statebot'

    let machine = Statebot(...)

    isStatebot(machine)
    // true

    Returns

    Parameters

    • object: any

      The object to test.

    Returns boolean

Generated using TypeDoc