vis-util
    Preparing search index...

    Variable toArrayConst

    toArray: { <T>(o: { [s: string]: T } | ArrayLike<T>): T[]; (o: {}): any[] } = Object.values

    Convert an object into an array: all objects properties are put into the array. The resulting array is unordered.

    Type declaration

      • <T>(o: { [s: string]: T } | ArrayLike<T>): T[]
      • Returns an array of values of the enumerable own properties of an object

        Type Parameters

        • T

        Parameters

        • o: { [s: string]: T } | ArrayLike<T>

          Object that contains the properties and methods. This can be an object that you created or an existing Document Object Model (DOM) object.

        Returns T[]

      • (o: {}): any[]
      • Returns an array of values of the enumerable own properties of an object

        Parameters

        • o: {}

          Object that contains the properties and methods. This can be an object that you created or an existing Document Object Model (DOM) object.

        Returns any[]

    Object that contains the properties and methods.

    An array of unordered values.