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

Function valueFn

web/static/bower_components/angular/angular.js:540–540  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

538
539
540function valueFn(value) {return function() {return value;};}
541
542function hasCustomToString(obj) {
543 return isFunction(obj.toString) && obj.toString !== Object.prototype.toString;

Callers 5

valueFunction · 0.85
$CompileProviderFunction · 0.85
$WindowProviderFunction · 0.85
angular.jsFile · 0.85
ngDirectiveFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected