MCPcopy
hub / github.com/angular-ui/ui-grid / isClass

Function isClass

lib/test/angular/1.8.0/angular.js:5181–5192  ·  view source on GitHub ↗
(func)

Source from the content-addressed store, hash-verified

5179 }
5180
5181 function isClass(func) {
5182 // Support: IE 9-11 only
5183 // IE 9-11 do not support classes and IE9 leaks with the code below.
5184 if (msie || typeof func !== 'function') {
5185 return false;
5186 }
5187 var result = func.$$ngIsClass;
5188 if (!isBoolean(result)) {
5189 result = func.$$ngIsClass = /^class\b/.test(stringifyFn(func));
5190 }
5191 return result;
5192 }
5193
5194 function invoke(fn, self, locals, serviceName) {
5195 if (typeof locals === 'string') {

Callers 1

invokeFunction · 0.70

Calls 2

isBooleanFunction · 0.70
stringifyFnFunction · 0.70

Tested by

no test coverage detected