...
Wiki Markup |
---|
@param \{Type} \[name\] optional name property |
Code Block |
---|
function demo(){ /** @type {JSFoundSet<db:/udm/contacts>}*/ var x = databaseManager.getFoundset('udm', 'contacts'); x. //Code-completion here will know that x is a FoundSet on table Contacts in the UDM database, thus will include all columns, calculations and aggregates } |
Wiki Markup |
---|
@type \{String\[\]} |
Wiki Markup |
---|
@type \{Object<Array<String>>}: equivalent of \{\['one', 'two', 'three'\], \['four', 'five', 'six'\], \['seven', 'eight', 'nine'\]} |
name:String, age:Number
person A JavaScript object with a name and age property representing a personCode Block |
---|
/** * @param {Object} person * @param {String} person.name * @param {String} person.email * @param {Number} [person.age] optional "age" property */ function processPerson(person) { application.output(person.name); application.output(person.email); } |
Code Block |
---|
/** * @param {...String} someExtraStrings One or more additional String can be send into this function */ function methodWithRestParams(someExtraString){} function test() { methodWithRestParams('one', 'two', 'three', 'four'); } |
...