Skip to Content
API Referencenz (replace NaN with 0)

nz (replace NaN with 0)

nz(source: Array<Number>) -> Array<Number>

Returns an array with all NaN values substituted with 0.