query
On this page

isFunction

lib.isFunction

Docs pulled from | This Revision | about 1 hour ago


Check whether something is a function or something annotated with function args.

Inputs

f

1. Function argument

(lib.trivial.isFunction)

Noogle detected

Aliases

Implementation

The following is the current implementation of this function.

isFunction = f: builtins.isFunction f ||
    (f ? __functor && isFunction (f.__functor f));