Home > @josh-brown/vector > ArrayVector > getSparseData
Returns the contents of the vector as a map of indices to nonzero values
Signature:
getSparseData(): Map<number, S>;
Returns:
Map<number, S>
The contents of the vector
Home > @josh-brown/vector > ArrayVector > getSparseData
Returns the contents of the vector as a map of indices to nonzero values
Signature:
getSparseData(): Map<number, S>;
Returns:
Map<number, S>
The contents of the vector