MCPcopy Create free account
hub / github.com/IgorMinar/directives-workshop / identity

Function identity

lib/angular.js:461–461  ·  view source on GitHub ↗

* @ngdoc function * @name angular.identity * @function * * @description * A function that returns its first argument. This function is useful when writing code in the * functional style. * function transformer(transformationFn, value) { return (transformationFn || angular

($)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected