MCPcopy Index your code
hub / github.com/krasimir/react-in-patterns / set

Function set

code/new-context-api/public/app.js:2433–2437  ·  view source on GitHub ↗
(val)

Source from the content-addressed store, hash-verified

2431 };
2432
2433 function set(val) {
2434 var action = isFunction ? 'setting the method' : 'setting the property';
2435 warn(action, 'This is effectively a no-op');
2436 return val;
2437 }
2438
2439 function get() {
2440 var action = isFunction ? 'accessing the method' : 'accessing the property';

Callers 1

adoptClassInstanceFunction · 0.70

Calls 1

warnFunction · 0.70

Tested by

no test coverage detected