Search the reference...
/
method
Asserts that a value is a function.
function
expect(() => {}).toBeFunction();