I'm trying to check if a given value is a function, but I'm getting the following error:
Using the is.function_ does work, but if this is expected I think we should update the README which also uses the function instead of function_:
https://github.com/sindresorhus/is#functionvalue
Hi,
I'm trying to check if a given value is a function, but I'm getting the following error:
Using the
is.function_
does work, but if this is expected I think we should update the README which also uses thefunction
instead offunction_
: https://github.com/sindresorhus/is#functionvalueSimilarly with other types like
null_
orclass_
.