Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
63
export
function
isCssCalcExpression(value: string) {
64
return
value.includes(
'calc('
);
65
}
66
67
export
function
isCssVariableExpression(value: string) {
68
return
value.includes(
'var(--'
);
Callers
2
setPropertyValues
Method · 0.90
_evaluateCssCalcExpression
Function · 0.85
Calls
1
includes
Method · 0.80
Tested by
no test coverage detected