Overview
Returns true if specified key value exists in the dictionary.boolean DataTableDictionary.Has(key: string)
Arguments
string key
Key of value to check
Remarks
The following code returns value 'true' for variable name_to_check if name Irmak Bardakçı exists in the dictionary:
Example
var table = $Database.Get({ Parameters : { TargetSchema : 'HR', TargetTable : 'Persons' } }); var list = table.ToDictionary('Name'); var name_to_check = list.Has('John Doe');
Examples
var table = $Database.Get({ Parameters : { TargetSchema : 'HR', TargetTable : 'Persons' } }); var list = table.ToDictionary('Name'); var name_to_check = list.Has('John Doe');