Jump to navigation

Class: TFunc

Numbas.jme.types.TFunc

new TFunc(name, annotationopt)

JME function token.

Parameters:
Name Type Attributes Description
name string
annotation Array.<string> <optional>

Any annotations for the function's name.

Properties:
Name Type Description
name string

The function's name, prefixed with any annotations joined by colons.

nameWithoutAnnotation string

The name without the annotations.

annotation Array.<string>

List of annotations (used to modify display).

vars number

Arity of the function.

type string

"function"

Source: