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

Function isPrimitive

lib/test/angular/1.8.0/angular.js:23957–23966  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

23955 }
23956
23957 function isPrimitive(value) {
23958 switch (typeof value) {
23959 case 'number': /* falls through */
23960 case 'boolean': /* falls through */
23961 case 'string':
23962 return true;
23963 default:
23964 return false;
23965 }
23966 }
23967
23968 function objectValue(value) {
23969 // If `valueOf` is a valid function use that

Callers 1

objectValueFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected