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