MCPcopy Create free account
hub / github.com/webstudio-is/webstudio / u

Function u

packages/css-data/src/parse-css.test.ts:1877–1878  ·  view source on GitHub ↗
(value: number, unit: string)

Source from the content-addressed store, hash-verified

1875// ─── Comprehensive var() substitution in shorthands ───────────────────────────
1876
1877const u = (value: number, unit: string) =>
1878 expect.objectContaining({ type: "unit", value, unit });
1879const num = (value: number) => u(value, "number");
1880const kw = (value: string) =>
1881 expect.objectContaining({ type: "keyword", value });

Callers 2

numFunction · 0.85
parse-css.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected