A function model represents the model of a Ceylon function that you can inspect.

A function model can be either a toplevel Function, a CallableConstructor (callable constructor) of a toplevel Class, a member Method or CallableMemberConstructor (callable constructor) of a member class.

no type hierarchy

declarationSource Codeshared formal NestableDeclaration&FunctionalDeclaration declaration

This function's declaration.

Refines Model.declaration ultimately refines Declared.declaration
typeSource Codeshared formal ClosedType<Type> type

This function's return closed type.

Inherited Attributes
Attributes inherited from: Object
Attributes inherited from: Declared
Attributes inherited from: Functional
Attributes inherited from: Generic
Attributes inherited from: Model
Inherited Methods
Methods inherited from: Object