Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/orestbida/cookieconsent
/ elContains
Function
elContains
src/utils/general.js:27–27 ·
view source on GitHub ↗
(el, value)
Source
from the content-addressed store, hash-verified
25
* @param {any[]|string} el
26
*/
27
export
const
elContains = (el, value) => indexOf(el, value) !== -1;
28
29
export
const
isArray = el => Array.isArray(el);
30
Callers
15
manageExistingScripts
Function · 0.90
loadScriptsHelper
Function · 0.90
categoryWasJustDisabled
Function · 0.90
serviceWasJustDisabled
Function · 0.90
setLayout
Function · 0.90
handleRtlLanguage
Function · 0.90
autoclearCookiesHelper
Function · 0.90
saveCookiePreferences
Function · 0.90
setCookie
Function · 0.90
acceptedCategory
Function · 0.90
acceptService
Function · 0.90
acceptedService
Function · 0.90
Calls
1
indexOf
Function · 0.85
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…