bool equals (const ValueUnion& data, const ValueUnion& otherData, const VariantType& otherType) const noexcept { const Array<var>* const otherArray = otherType.toArray (otherData); return otherArray != nullptr && *otherArray == *(data.arrayValue); }
bool equals (const ValueUnion& data, const ValueUnion& otherData, const VariantType& otherType) const noexcept override { auto* thisArray = toArray (data); auto* otherArray = otherType.toArray (otherData); return thisArray == otherArray || (thisArray != nullptr && otherArray != nullptr && *otherArray == *thisArray); }