Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "toSet"

Index

Functions

Functions

toSet

  • toSet<T>(this: Sequence<T>, set?: Set<T>): Set<T>
  • Returns all elements of the sequence as set. If a set is passed the elements are added to this set.

    Type parameters

    • T

    Parameters

    • this: Sequence<T>
    • Optional set: Set<T>

    Returns Set<T>