Appearance
Test if a value is a function.
import { isFunction } from '@studiometa/js-toolkit/utils'; isFunction(() => 'foo'); // true isFunction('foo'); // false
value
any
Returns true if the given value is a function, false otherwise.
true
false