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

A function is a toplevel binding, declared on a package.

This is a FunctionModel that you can also invoke:

shared String foo(String name) => "Hello "+name;

void test(){
    Function<String,[String]> f = `foo`;
    // This will print: Hello Stef
    print(f("Stef"));
}

no type hierarchy

no subtypes hierarchy

Attributes
declarationSource Codeshared formal FunctionDeclaration declaration

This function's declaration.

Inherited Attributes
Attributes inherited from: Object
Attributes inherited from: Declared
Attributes inherited from: FunctionModel<Type,Arguments>
Attributes inherited from: Functional
Attributes inherited from: Generic
Attributes inherited from: Model
Inherited Methods
Methods inherited from: Object
Methods inherited from: Applicable<Type,Arguments>