areIndicesValid MethodStatic
Check validity of indices into a data array.
- It is valid to have both indices and data undefined.
- It is NOT valid for just one to be defined.
- Index values at indices[indexPositionA <= i < indexPositionB] must be valid indices to the data array.
areIndicesValid(indices: undefined | number[], indexPositionA: number, indexPositionB: number, data: any, dataLength: number): boolean
Returns - boolean
Defined in
- polyface/Polyface.ts Line 59
Last Updated: 15 March, 2024
Found something wrong, missing, or unclear on this page?
Raise an issue in our repo.