MCPcopy Create free account
hub / github.com/krasimir/react-in-patterns / set

Function set

code/higher-order-components/public/app.js:3066–3070  ·  view source on GitHub ↗
(val)

Source from the content-addressed store, hash-verified

3064 };
3065
3066 function set(val) {
3067 var action = isFunction ? 'setting the method' : 'setting the property';
3068 warn(action, 'This is effectively a no-op');
3069 return val;
3070 }
3071
3072 function get() {
3073 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