StringHashTable.fromArray Method
Initializes a new
StringHashTable
using the elements from
array
as the values and the keys selected by
keySelector
.
This method is static.
Parameters
array
Type:
Array
The array to populate the hash table with.
keySelector
Type:
Function
A function which returns a
String
value which may be
null
to use as a key for each element in
array
.
Return Value
Type:
StringHashTable
The hash table.
© 2014-2024 Dundas Data Visualization, Inc.