clampTimestamp
clampTimestamp(
ts,min?,max?):Timestamp
Defined in: timestamp.ts:150
Clamps a timestamp to the range of valid timestamps. The minimum and maximum values are inclusive. If the timestamp is less than the minimum, it will be set to the minimum. If the timestamp is greater than the maximum, it will be set to the maximum.
Parameters
Section titled “Parameters”Timestamp
Timestamp = MIN_TIMESTAMP
Timestamp = MAX_TIMESTAMP
Returns
Section titled “Returns”Timestamp