Home > @josh-brown/vector > Vector > toArray Vector.toArray() method Returns the contents of the vector as an array Signature: toArray(): S[]; Returns: S[] The contents of the vector