MCPcopy Index your code
hub / github.com/NativeScript/NativeScript / isLength

Function isLength

packages/core/ui/styling/css-utils.ts:38–38  ·  view source on GitHub ↗
(v)

Source from the content-addressed store, hash-verified

36 * Checks if the value is a Length or 0
37 */
38const isLength = (v) => v === '0' || LENGTH_RE.test(v);
39
40export function parseCSSCommaSeparatedListOfValues(value: string): string[] {
41 const values: string[] = [];

Callers 1

parseCSSShorthandFunction · 0.85

Calls 1

testMethod · 0.45

Tested by

no test coverage detected