• Creates a new Enumerable from the input Iterable.

    Example

    const obj = { foo: 'bar' };
    const enumerable = from(obj);

    Typeparam

    TSource The type of the object.

    Returns

    A new Enumerable.

    Type Parameters

    • TSource

    Parameters

    • src: TSource

      The object to create an Enumerable from.

    Returns IEnumerable<[keyof TSource, TSource[keyof TSource]]>

Generated using TypeDoc