KC's Workspace
    Preparing search index...
    • Creates a Seq.

      Returns a particular kind of Seq based on the input.

      • If a Seq, that same Seq.
      • If an Collection, a Seq of the same kind (Keyed, Indexed, or Set).
      • If an Array-like, an Seq.Indexed.
      • If an Iterable Object, an Seq.Indexed.
      • If an Object, a Seq.Keyed.

      Note: An Iterator itself will be treated as an object, becoming a Seq.Keyed, which is usually not what you want. You should turn your Iterator Object into an iterable object by defining a Symbol.iterator (or @@iterator) method which returns this.

      Note: Seq is a conversion function and not a class, and does not use the new keyword during construction.

      Type Parameters

      • S extends Seq<unknown, unknown>

      Parameters

      • seq: S

      Returns S

    • Creates a Seq.

      Returns a particular kind of Seq based on the input.

      • If a Seq, that same Seq.
      • If an Collection, a Seq of the same kind (Keyed, Indexed, or Set).
      • If an Array-like, an Seq.Indexed.
      • If an Iterable Object, an Seq.Indexed.
      • If an Object, a Seq.Keyed.

      Note: An Iterator itself will be treated as an object, becoming a Seq.Keyed, which is usually not what you want. You should turn your Iterator Object into an iterable object by defining a Symbol.iterator (or @@iterator) method which returns this.

      Note: Seq is a conversion function and not a class, and does not use the new keyword during construction.

      Type Parameters

      • K
      • V

      Parameters

      Returns Keyed<K, V>

    • Creates a Seq.

      Returns a particular kind of Seq based on the input.

      • If a Seq, that same Seq.
      • If an Collection, a Seq of the same kind (Keyed, Indexed, or Set).
      • If an Array-like, an Seq.Indexed.
      • If an Iterable Object, an Seq.Indexed.
      • If an Object, a Seq.Keyed.

      Note: An Iterator itself will be treated as an object, becoming a Seq.Keyed, which is usually not what you want. You should turn your Iterator Object into an iterable object by defining a Symbol.iterator (or @@iterator) method which returns this.

      Note: Seq is a conversion function and not a class, and does not use the new keyword during construction.

      Type Parameters

      • T

      Parameters

      Returns Set<T>

    • Creates a Seq.

      Returns a particular kind of Seq based on the input.

      • If a Seq, that same Seq.
      • If an Collection, a Seq of the same kind (Keyed, Indexed, or Set).
      • If an Array-like, an Seq.Indexed.
      • If an Iterable Object, an Seq.Indexed.
      • If an Object, a Seq.Keyed.

      Note: An Iterator itself will be treated as an object, becoming a Seq.Keyed, which is usually not what you want. You should turn your Iterator Object into an iterable object by defining a Symbol.iterator (or @@iterator) method which returns this.

      Note: Seq is a conversion function and not a class, and does not use the new keyword during construction.

      Type Parameters

      • T

      Parameters

      Returns Indexed<T>

    • Creates a Seq.

      Returns a particular kind of Seq based on the input.

      • If a Seq, that same Seq.
      • If an Collection, a Seq of the same kind (Keyed, Indexed, or Set).
      • If an Array-like, an Seq.Indexed.
      • If an Iterable Object, an Seq.Indexed.
      • If an Object, a Seq.Keyed.

      Note: An Iterator itself will be treated as an object, becoming a Seq.Keyed, which is usually not what you want. You should turn your Iterator Object into an iterable object by defining a Symbol.iterator (or @@iterator) method which returns this.

      Note: Seq is a conversion function and not a class, and does not use the new keyword during construction.

      Type Parameters

      • V

      Parameters

      • obj: { [key: string]: V }

      Returns Keyed<string, V>

    • Creates a Seq.

      Returns a particular kind of Seq based on the input.

      • If a Seq, that same Seq.
      • If an Collection, a Seq of the same kind (Keyed, Indexed, or Set).
      • If an Array-like, an Seq.Indexed.
      • If an Iterable Object, an Seq.Indexed.
      • If an Object, a Seq.Keyed.

      Note: An Iterator itself will be treated as an object, becoming a Seq.Keyed, which is usually not what you want. You should turn your Iterator Object into an iterable object by defining a Symbol.iterator (or @@iterator) method which returns this.

      Note: Seq is a conversion function and not a class, and does not use the new keyword during construction.

      Type Parameters

      • K = unknown
      • V = unknown

      Returns Seq<K, V>