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

Function valueConverter

packages/core/ui/styling/style-properties.ts:1054–1060  ·  view source on GitHub ↗
(value: string | ClipPathFunction)

Source from the content-addressed store, hash-verified

1052 return value1 === value2;
1053 },
1054 valueConverter(value: string | ClipPathFunction) {
1055 if (typeof value === 'string') {
1056 return parseClipPath(value);
1057 }
1058
1059 return value;
1060 },
1061});
1062clipPathProperty.register(Style);
1063

Callers

nothing calls this directly

Calls 1

parseClipPathFunction · 0.85

Tested by

no test coverage detected