Compare ordered arrays of scalars, or of arrays of scalars, by value.
The domain is exactly what validWaveAudioIdentity compares: a speaker-label
array such as ["front-left", "front-right"] and a one-row downmix matrix
such as [[0.5, 0.5]]. Arrays are equal when they have the same length and
every position holds equal scalars, or rows of the same length with equal
scalars; order and the scalar's type both count. Object.is decides each
scalar, so NaN equals NaN and +0 differs from -0.
A non-array argument returns false instead of being compared, so a record
cannot pass by lacking a length. Nesting deeper than one row, prototypes,
symbol keys, boxed primitives and cycles are outside the domain.
Compare ordered arrays of scalars, or of arrays of scalars, by value.
The domain is exactly what
validWaveAudioIdentitycompares: a speaker-label array such as["front-left", "front-right"]and a one-row downmix matrix such as[[0.5, 0.5]]. Arrays are equal when they have the same length and every position holds equal scalars, or rows of the same length with equal scalars; order and the scalar's type both count.Object.isdecides each scalar, soNaNequalsNaNand+0differs from-0.A non-array argument returns false instead of being compared, so a record cannot pass by lacking a
length. Nesting deeper than one row, prototypes, symbol keys, boxed primitives and cycles are outside the domain.