MCPcopy
hub / github.com/Semantic-Org/Semantic-UI / inArray

Function inArray

tasks/docs/metadata.js:25–31  ·  view source on GitHub ↗
(needle, haystack)

Source from the content-addressed store, hash-verified

23}
24
25function inArray(needle, haystack) {
26 var length = haystack.length;
27 for(var i = 0; i < length; i++) {
28 if(haystack[i] == needle) return true;
29 }
30 return false;
31}
32
33/**
34 * Parses a file for metadata and stores result in data object.

Callers 1

parserFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…