Type.isCallable
Returns true if the value is a function or has a `__call` metamethod.
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 )Arguments
Section titled “Arguments”| Name | Type | Description |
|---|---|---|
t |
any | Object to check |
Returns
Section titled “Returns”| Name | Type | Description |
|---|---|---|
callable |
boolean |