"CompiledFunctionData" (Compiled Type)
"CompiledFunctionData"::[ty]
represents a type that holds information about a compiled function of type ty.
Constructors
- Instances of "CompiledFunctionData" are typically created by compiled calls to CurrentCompiledFunctionData.
Operations
- For an instance of type "CompiledFunctionData", the following operations can be used:
-
obj["Name"] return the name of the function or Undefined if it is anonymous obj["Type"] return the type of the function obj["ReturnType"] return the return type of the function
Properties
- Information[obj,"Name"] for obj of type "CompiledFunctionData" returns the name of the function.
- Information[obj,"Type"] for obj of type "CompiledFunctionData" gives the type of the function.
- Information[obj,"ReturnType"] for obj of type "CompiledFunctionData" gives the return type of the function.
Examples
Basic Examples (2)
Compile a program that returns an incremental function object:
If CurrentCompiledFunctionData appears in a function with a name, this is included:
Related Guides
Related Links
History
Introduced in 2025 (14.3)