API Reference > geometry-core > Polyface > Polyface > areIndicesValid 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: number[] | undefined, indexPositionA: number, indexPositionB: number, data: any | undefined, dataLength: number): boolean Parameter Type Description indices number[] | undefined array of indices. indexPositionA number first index to test indexPositionB number one past final index to test data any | undefined data array. Only its length is referenced. dataLength number Returns - boolean Defined in core/geometry/src/polyface/Polyface.ts Line 61 Last Updated: 13 June, 2024