MCPcopy Index your code
hub / github.com/Splidejs/splide / includes

Function includes

src/js/utils/array/includes/includes.ts:10–12  ·  view source on GitHub ↗
( array: T[], value: T )

Source from the content-addressed store, hash-verified

8 * @return `true` if the array includes the value, or otherwise `false`.
9 */
10export function includes<T>( array: T[], value: T ): boolean {
11 return array.indexOf( value ) > -1;
12}

Callers 4

filterFunction · 0.90
onKeydownFunction · 0.90
includes.test.tsFile · 0.90
isFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…