TyphonJS Runtime Library (FVTT) 0.3.0
#runtime/util/predicate
isFunction
Function isFunction
isFunction
<
T
extends
(
...
args
:
any
[]
)
=>
any
>
(
value
:
unknown
)
:
value
is
T
Determines if the given value is a function.
Type Parameters
T
extends
(
...
args
:
any
[]
)
=>
any
Parameters
value
:
unknown
Value to test.
Returns
value
is
T
True if the value is a function.
Settings
Member Visibility
Inherited
Protected
Theme
OS
Light
Dark
Demo - Essential Svelte ESM
TyphonJS Runtime Library (FVTT) 0.3.0
Determines if the given value is a function.