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

Function createDeclaration

packages/core/ui/styling/css-selector.ts:814–816  ·  view source on GitHub ↗
(decl: ReworkCSS.Declaration)

Source from the content-addressed store, hash-verified

812}
813
814function createDeclaration(decl: ReworkCSS.Declaration): any {
815 return { property: isCssVariable(decl.property) ? decl.property : decl.property.toLowerCase(), value: decl.value };
816}
817
818function createSimpleSelectorFromAst(ast: CSSWhatSelector): SimpleSelector {
819 if (ast.type === 'attribute') {

Callers

nothing calls this directly

Calls 1

isCssVariableFunction · 0.90

Tested by

no test coverage detected