Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
*/
21
export
function
is_function(thing) {
22
return
typeof thing ===
'function'
;
23
}
24
25
export
const
noop = () => {};
26
Callers
6
animate
Function · 0.90
get
Function · 0.90
set
Function · 0.90
getOwnPropertyDescriptor
Function · 0.90
has
Function · 0.90
ownKeys
Function · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected