MCPcopy
hub / github.com/less/less.js / clone

Method clone

packages/less/lib/less/tree/unit.js:30–32  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

28 }
29
30 clone() {
31 return new Unit(utils.copyArray(this.numerator), utils.copyArray(this.denominator), this.backupUnit);
32 }
33
34 /**
35 * @param {EvalContext} context

Callers 5

pushMethod · 0.45
visitRulesetMethod · 0.45
data-uri.jsFile · 0.45
operateMethod · 0.45
convertToMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected