databank.filterFields (+databank)
Get the names of databank fields that pass name or value tests
Syntax
list = databank.filterFields(inputDb, ...)
Input Arguments
inputDb [ struct | Dictionary ]
Input databanks whose fields will be tested for their names, types (classes) and values.
Output Arguments
list [ string ]
List of the
inputDbfields that have successfully passed the name, class and value tests.
Options
__Name=@all [ @all | function ]
Function (function handle) that will be applied to each field name; the
Namefunction must return atrueorfalsefor any field name;@allmeans all fields pass the name test.
__Class=@all [ @all | string ]
List of classes against which the value of each
inputDbfield will be tested;@allmean all fields pass the class test.
Value=@all [ @all | function ]
Function (function handle) that will be applied to each field value; the
Valuefunction must return atrueorfalsefor any field value;@allmeans all fields pass the value test.