is.function
is.function(target: Function | AsyncFunction | GeneratorFunction)โ
Specificationโ
- Target argument: required.
- Checks if the given "target" type is function.
Informationโ
- Unit tests: โ
// And all other known types will return false
// Reversal boolean result
// And all other known types will return true