Function<T>

Summary

The wrapper class for functions.

Description

The System.Function class is the wrapper class for internal functions and callbacks.

Examples

Usage as Type Annotation
1
2
3
System.Function<void()> myFunction = void() {
    // ...
};

Methods

  • Function (Constructor)

    Constructs a System.Function object with a specified function value.

  • length

    Represents the number of arguments the function expects.

  • toString

    Returns a string representation of the function value.

  • valueOf

    Returns the primitive function value wrapped by the System.Function object.

Share

HTML | BBCode | Direct Link