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

Function convFunc

apps/automated/src/ui/core/bindable/bindable-tests.ts:1037–1039  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

1035 const expectedValue = 'Expected Value';
1036 const target = new Label();
1037 const convFunc = function (value) {
1038 return value + 'Converted';
1039 };
1040 const model = new Observable();
1041 model.set('field', expectedValue);
1042 model.set('convFunc', convFunc);

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected