setFromList

Usage

setFromList(items: List<a>) → Set<a>

Arguments

items

Description

Construct a set from a list, discarding repeated items. Use Set.fromList([]) for an empty set.