method BSTree.fromimport { BSTree } from "https://deno.land/std@0.145.0/collections/bs_tree.ts"; from<T>(collection: ArrayLike<T> | Iterable<T> | BSTree<T>): BSTree<T>Creates a new binary search tree from an array like or iterable object. from<T>(collection: ArrayLike<T> | Iterable<T> | BSTree<T>, options: { compare?: (a: T, b: T) => number; }): BSTree<T>from<T, U, V>(collection: ArrayLike<T> | Iterable<T> | BSTree<T>, options: { compare?: (a: U, b: U) => number; map: (value: T, index: number) => U; thisArg?: V; }): BSTree<U>from<T, U, V>(collection: ArrayLike<T> | Iterable<T> | BSTree<T>, options?: { compare?: (a: U, b: U) => number; map?: (value: T, index: number) => U; thisArg?: V; }): BSTree<U>Creates a new binary search tree from an array like or iterable object. Type ParametersTParameterscollection: ArrayLike<T> | Iterable<T> | BSTree<T>ReturnsBSTree<T>Type ParametersTParameterscollection: ArrayLike<T> | Iterable<T> | BSTree<T>options: { compare?: (a: T, b: T) => number; }ReturnsBSTree<T>Type ParametersTUVParameterscollection: ArrayLike<T> | Iterable<T> | BSTree<T>options: { compare?: (a: U, b: U) => number; map: (value: T, index: number) => U; thisArg?: V; }ReturnsBSTree<U>Type ParametersTUVParameterscollection: ArrayLike<T> | Iterable<T> | BSTree<T>optionaloptions: { compare?: (a: U, b: U) => number; map?: (value: T, index: number) => U; thisArg?: V; }ReturnsBSTree<U>