Page History
...
Expression name | Syntax example | Context | Comments |
---|---|---|---|
Named type | {String} | @param, @return, @type, @throws | The complete list of available types can be seen by triggering Code Completion inside the curly braces in the Script Editor |
Any type | {*} | @param, @return, @type, @throws | This can be used to suppress some builder markers related to apparent type inconsistencies. |
OR type | {String|Number} | @param, @return, @type, @throws |
|
REST type | {...String} | @param | Can only be used for the last declared parameter of a function |
Array type | {String[]} {Array<String|Number>} | @param, @return, @type, @throws |
|
Object type | {Object<String>} | @param, @return, @type, @throws |
|
Object type with optional properties | { {name:String, [age]:Number}} | @param, @return, @type, @throws |
|
Function type | {function(String, Number, Array<Object>):Boolean} | @param, @return, @type |
|
JSFoundset type | {JSFoundset<db:/udm/contacts>}1 | @param, @return, @type |
|
JSRecord type | {JSRecord<db:/udm/contacts>}1 | @param, @return, @type |
|
JSDataSet type | {JSDataSet<{name:String, age:Number}>} | @param, @return, @type |
|
RuntimeForm type | {RuntimeForm<superFormName>} | @param, @return, @type |
|
RuntimeWebComponent type | {RuntimeWebComponent<webComponentName>} | @param, @return, @type | The webComponentName can be found in the associated spec file; webComponentName may be for example: bootstrapcomponents-tabpanel (leading to the following type: {RuntimeWebComponent<bootstrapcomponents-tabpanel>} ) |
1 the value in between <..> is the datasource notation that is built up of the database server and tablename: db:/{serverName}/{tableName}
...