Hex Core JS
    Preparing search index...

    Function isSameTimeOrBefore

    • Determines if one date time object represents a time before a second one up to a given precision. Note: This is not a strict inequality.

      dateTime1 <= dateTime2

      Parameters

      • dateTime1: DateTime

        The first date time object to compare.

      • dateTime2: DateTime

        The second date time object to compare.

      • precision: OpUnitType = "milliseconds"

        The granularity with which to decide ordering. Defaults to "milliseconds".

      Returns boolean