MCPcopy Index your code
hub / github.com/castillo-io/angular-css / arraySelect

Function arraySelect

angular-css.js:597–603  ·  view source on GitHub ↗
(array, action)

Source from the content-addressed store, hash-verified

595 var $directives = [];
596 var originalModule = angular.module;
597 var arraySelect = function(array, action) {
598 return array.reduce(
599 function(previous, current) {
600 previous.push(action(current));
601 return previous;
602 }, []);
603 };
604 var arrayExists = function(array, value) {
605 return array.indexOf(value) > -1;
606 };

Callers 1

angular-css.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected