MCPcopy Create free account
hub / github.com/codemix/graph / negate

Method negate

packages/graph/src/TemporalTypes.ts:1396–1398  ·  view source on GitHub ↗

* Negate this duration.

()

Source from the content-addressed store, hash-verified

1394 * Negate this duration.
1395 */
1396 public negate(): DurationValue {
1397 return new DurationValue(-this.#months, -this.#days, -this.#seconds, -this.#nanoseconds);
1398 }
1399
1400 /**
1401 * Compare two durations for equality.

Callers 3

resolveConditionValueFunction · 0.80
subtractDurationFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected