Skip to content

Latest commit

 

History

History
19 lines (11 loc) · 514 Bytes

vector.arrayvector.getsparsedata.md

File metadata and controls

19 lines (11 loc) · 514 Bytes

Home > @josh-brown/vector > ArrayVector > getSparseData

ArrayVector.getSparseData() method

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