MCPcopy
hub / github.com/sveltejs/svelte / is_function

Function is_function

packages/svelte/src/internal/shared/utils.js:21–23  ·  view source on GitHub ↗
(thing)

Source from the content-addressed store, hash-verified

19 * @returns {thing is Function}
20 */
21export function is_function(thing) {
22 return typeof thing === 'function';
23}
24
25export const noop = () => {};
26

Callers 6

animateFunction · 0.90
getFunction · 0.90
setFunction · 0.90
getOwnPropertyDescriptorFunction · 0.90
hasFunction · 0.90
ownKeysFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected