MCPcopy Create free account
hub / github.com/NativeScript/NativeScript / isCssCalcExpression

Function isCssCalcExpression

packages/core/ui/core/properties/index.ts:63–65  ·  view source on GitHub ↗
(value: string)

Source from the content-addressed store, hash-verified

61}
62
63export function isCssCalcExpression(value: string) {
64 return value.includes('calc(');
65}
66
67export function isCssVariableExpression(value: string) {
68 return value.includes('var(--');

Callers 2

setPropertyValuesMethod · 0.90

Calls 1

includesMethod · 0.80

Tested by

no test coverage detected