TOP Phenotypic Query 0.8.2 API
Functions and Constants
The functions and constants described here can be used in the expression editor of the TOP Framework.
Each expression represents either a phenotype class, a constant/value (list) or a function with a set of arguments (which are also expressions) and has a particular data type (number, text, boolean or date-time). For example, a number expression is either a numeric phenotype class (e.g. weight), a numeric constant/value (list) (e.g. pi or [1, 2, 3]) or a function returning a number expression. A function converts its arguments into a single expression of a defined data type.
The functions and constants are grouped by category (package). For detailed information about a function or a constant, please click on the corresponding package and then on the desired function/constant.
To specify argument lists for functions we use some special characters (like in regular expressions or extended Backus-Naur Form). The arguments are placed in angle brackets. The following characters may occur after single arguments or argument groups (in round brackets):
- * : 0 or more occurrences
- + : 1 or more occurrences
- ? : 0 or 1 occurrences, alternatively [ ... ]