Function isCurrent

  • return true if the specified state is the current one

    Parameters

    • state: number

      State ID (see constants)

    Returns boolean

    true if the specified state is the current one

    isCurrent

    state