• Preparing search index...
  • The search index is not available
TypeScript Extended Linq
  • TypeScript Extended Linq
  • fromObject

Function fromObject

  • fromObject<TSource>(
        src: TSource,
    ): IEnumerable<[keyof TSource, TSource[keyof TSource]]>
  • Creates a new Enumerable from the input Iterable.

    Type Parameters

    • TSource

    Parameters

    • src: TSource

      The object to create an Enumerable from.

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

    A new Enumerable.

    Example

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

    Typeparam

    TSource The type of the object.

    • Defined in functions/from.ts:31

Settings

Member Visibility
TypeScript Extended Linq
  • Loading...

Generated using TypeDoc