query
On this page

isFunction

lib.trivial.isFunction

Docs pulled from | This Revision | 10 minutes ago


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

Inputs

f

1. Function argument


Noogle detected

Aliases

Implementation

The following is the current implementation of this function.

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