MCPcopy Create free account
hub / github.com/ecomfe/tempad-dev / parseBoxValues

Function parseBoxValues

packages/extension/utils/css.ts:260–264  ·  view source on GitHub ↗
(value: string)

Source from the content-addressed store, hash-verified

258}
259
260function parseBoxValues(value: string): [string, string, string, string] {
261 const parts = value.trim().split(WHITESPACE_RE)
262 const [t, r = t, b = t, l = r] = parts
263 return [t, r, b, l]
264}
265
266function parseFlexShorthand(value: string) {
267 const parts = value.trim().split(WHITESPACE_RE)

Callers 1

expandShorthandsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected