Function isPeriod

  • Checks if a given object is of type Period. Note that it does not work for sub classes. However, use this to be robust against different versions of the library in one process instead of instanceof

    Parameters

    • value: any

      Value to check

    Returns value is Period

    Throws

    nothing

Generated using TypeDoc