MCPcopy
hub / github.com/Splidejs/splide / apply

Function apply

src/js/utils/function/apply/apply.ts:25–28  ·  view source on GitHub ↗
( func: AnyFunction )

Source from the content-addressed store, hash-verified

23 * @param func - A function.
24 */
25export function apply( func: AnyFunction ): any {
26 // eslint-disable-next-line prefer-rest-params, prefer-spread
27 return func.bind( null, ...slice( arguments, 1 ) );
28}

Callers 15

SlideFunction · 0.90
loadFunction · 0.90
LazyLoadFunction · 0.90
listenFunction · 0.90
createPaginationFunction · 0.90
mountFunction · 0.90
CoverFunction · 0.90
mountFunction · 0.90
ControllerFunction · 0.90
addFunction · 0.90
listenFunction · 0.90
scrollFunction · 0.90

Calls 2

sliceFunction · 0.90
bindMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…