Skip to main content
Returns whether the provided function is a C closure. The argument must be a function; passing any other type raises a type error. The function does not inspect executor ownership, source, bytecode, or upvalues.

Syntax

Arguments

Returns

Example

Check whether a function is a C closure.