MCPcopy
hub / github.com/zxlie/FeHelper / in_array

Function in_array

apps/code-beautify/beautify.js:286–288  ·  view source on GitHub ↗
(what, arr)

Source from the content-addressed store, hash-verified

284 }
285
286 function in_array(what, arr) {
287 return arr.indexOf(what) !== -1;
288 }
289
290 function ltrim(s) {
291 return s.replace(/^\s+/g, '');

Callers 3

reserved_arrayFunction · 0.85
is_expressionFunction · 0.85
beautify.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected