Function isBeforeItem

  • Checks whether the DateTime state of the given item is before the given date or now() if no date is given

    Parameters

    • item: string

      The name of the DateTime item

    • when: number = ...

      The date to compare with (optional)

    Returns boolean

    boolean

Generated using TypeDoc