toArrayfunction toArray<T>(value?: T | T[]): T[];§toArray<T>(value?: T | T[]): T[][src]§Type Parameters§T[src]§Parameters§value?: T | T[] optional[src]§Return Type§T[][src]