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

Function isPrimitive

lib/test/angular/1.5.0/angular.js:20474–20483  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

20472 }
20473
20474 function isPrimitive(value) {
20475 switch (typeof value) {
20476 case 'number': /* falls through */
20477 case 'boolean': /* falls through */
20478 case 'string':
20479 return true;
20480 default:
20481 return false;
20482 }
20483 }
20484
20485 function objectValue(value, index) {
20486 // If `valueOf` is a valid function use that

Callers 1

objectValueFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected