method RedBlackTree.fromimport { RedBlackTree } from "https://dotland.deno.dev/std@0.223.0/data_structures/mod.ts"; from<T>(collection: ArrayLike<T> | Iterable<T> | RedBlackTree<T>): RedBlackTree<T>Creates a new red-black tree from an array like or iterable object. from<T>(collection: ArrayLike<T> | Iterable<T> | RedBlackTree<T>, options: { Node?: RedBlackNode; compare?: (a: T, b: T) => number; }): RedBlackTree<T>from<T, U, V>(collection: ArrayLike<T> | Iterable<T> | RedBlackTree<T>, options: { compare?: (a: U, b: U) => number; map: (value: T, index: number) => U; thisArg?: V; }): RedBlackTree<U>Creates a new red-black tree from an array like or iterable object. Type ParametersTParameterscollection: ArrayLike<T> | Iterable<T> | RedBlackTree<T>ReturnsRedBlackTree<T>Type ParametersTParameterscollection: ArrayLike<T> | Iterable<T> | RedBlackTree<T>options: { Node?: RedBlackNode; compare?: (a: T, b: T) => number; }ReturnsRedBlackTree<T>Type ParametersTUVParameterscollection: ArrayLike<T> | Iterable<T> | RedBlackTree<T>options: { compare?: (a: U, b: U) => number; map: (value: T, index: number) => U; thisArg?: V; }ReturnsRedBlackTree<U>