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

Function isPrimitive

lib/test/angular/1.4.3/angular.js:19313–19322  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

19311 }
19312
19313 function isPrimitive(value) {
19314 switch (typeof value) {
19315 case 'number': /* falls through */
19316 case 'boolean': /* falls through */
19317 case 'string':
19318 return true;
19319 default:
19320 return false;
19321 }
19322 }
19323
19324 function objectValue(value, index) {
19325 // If `valueOf` is a valid function use that

Callers 1

objectValueFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected