Skip to content
ConcordConcordConcord

Type.isCallable

Returns true if the value is a function or has a `__call` metamethod.

← Type

Returns true if the value is a function or has a __call metamethod.

Use before treating a value as a populate function, pool constructor, or generator.

callable = Type.isCallable( t )
Name Type Description
t any Object to check
Name Type Description
callable boolean