MCPcopy Index your code
hub / github.com/bugy/script-server / contains

Function contains

web-src/src/common/utils/common.js:344–346  ·  view source on GitHub ↗
(array, element)

Source from the content-addressed store, hash-verified

342}
343
344export function contains(array, element) {
345 return array.indexOf(element) !== -1
346}
347
348export function forEachKeyValue(array, callback) {
349 for (var key in array) {

Callers 5

handleMethod · 0.90
onErrorFunction · 0.90
reconnectFunction · 0.90
removeEmptyValuesFunction · 0.90
assertVisibleItemsFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected