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

Function valueConverter

packages/core/ui/core/view/view-common.ts:1431–1437  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

1429 view.touchAnimation = newValue;
1430 },
1431 valueConverter(value) {
1432 if (isObject(value)) {
1433 return <TouchAnimationOptions>value;
1434 } else {
1435 return booleanConverter(value);
1436 }
1437 },
1438});
1439touchAnimationProperty.register(ViewCommon);
1440

Callers 5

constructorMethod · 0.50
constructorMethod · 0.50
setLocalValueMethod · 0.50
setCssValueMethod · 0.50
setFuncMethod · 0.50

Calls 2

isObjectFunction · 0.90
booleanConverterFunction · 0.90

Tested by

no test coverage detected