MCPcopy Index your code
hub / github.com/angular-ui/ui-grid / createAndSet

Function createAndSet

lib/test/angular/1.6.7/angular.js:23919–23924  ·  view source on GitHub ↗
(ctrl, name, value, controller)

Source from the content-addressed store, hash-verified

23917 };
23918
23919 function createAndSet(ctrl, name, value, controller) {
23920 if (!ctrl[name]) {
23921 ctrl[name] = {};
23922 }
23923 set(ctrl[name], value, controller);
23924 }
23925
23926 function unsetAndCleanup(ctrl, name, value, controller) {
23927 if (ctrl[name]) {

Callers 1

addSetValidityMethodFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected