MCPcopy Create free account
hub / github.com/angular-ui/ui-grid / isPrimitive

Function isPrimitive

lib/test/angular/1.6.7/angular.js:22727–22736  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

22725 }
22726
22727 function isPrimitive(value) {
22728 switch (typeof value) {
22729 case 'number': /* falls through */
22730 case 'boolean': /* falls through */
22731 case 'string':
22732 return true;
22733 default:
22734 return false;
22735 }
22736 }
22737
22738 function objectValue(value) {
22739 // If `valueOf` is a valid function use that

Callers 1

objectValueFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected