Reference
Introspection
Type of
| Input | An argument of any type. |
|---|---|
| Output | The canonical runtime type name as a string. |
Signature
Example
Function name
| Input | A function value. |
|---|---|
| Output | The function's intrinsic name as a string. |
Signature
Example
Function arity
| Input | A function value. |
|---|---|
| Output | The number of parameters accepted by the function. |
Signature
Example
Function parameters
| Input | A function value. |
|---|---|
| Output | The function parameter names as a list of strings, in declaration order. |
Signature
Example