Cols.domain()
note
This article is about the domain() function of the Cols object.
Cols.domain()
Gets the domain name of the first column in scope.
Returns a string. Returns null if no domain is found.
Syntax
$.udb( *ds* ).cols( [columns] ).domain()
The required ds parameter is a data source selector.
The optional columns is a column selector. If omitted, all columns in scope are selected.
Example
let colDomain = $.udb('EMP').cols('COUNTRY').domain();