MCPcopy Create free account
hub / github.com/cafebazaar/blacksmith / hasCustomToString

Function hasCustomToString

web/static/bower_components/angular/angular.js:542–544  ·  view source on GitHub ↗
(obj)

Source from the content-addressed store, hash-verified

540function valueFn(value) {return function() {return value;};}
541
542function hasCustomToString(obj) {
543 return isFunction(obj.toString) && obj.toString !== Object.prototype.toString;
544}
545
546
547/**

Callers 2

createPredicateFnFunction · 0.85
objectValueFunction · 0.85

Calls 1

isFunctionFunction · 0.85

Tested by

no test coverage detected