toSet

Util.toSet()
toSet(xs: T[]): Set

Creates a Set from the provided array.

Parameters

xs: T[]

Array to create a Set from

Returns: Set