Pods/Headers/Private/Realm/realm/array_binary.hpp
inline bool ArrayBinary::legacy_array_type() const noexcept
{
    if (Array::size() == 3)
        return false;               // New database file
    else if (Array::size() == 2)
        return true;                // Old database file
    else
        REALM_ASSERT(false);        // Should never happen
    return false;
}
// Old database files will not have the m_nulls array, so we need code paths for
// backwards compatibility for these cases. We can test if m_nulls exists by looking
// at number of references in this ArrayBinary.
Old database files will not have the m_nulls array, so we need code paths for
backwards compatibility for these cases. We can test if m_nulls exists by looking
at number of references in this ArrayBinary.
Old database files will not have the m_nulls array so we need code paths for backwards compatibility for these cases . We can test if m_nulls exists by looking at number of references in this ArrayBinary .
inline bool ArrayBinary::legacy_array_type() const noexcept
{
    if (Array::size() == 3)
        return false;               
    else if (Array::size() == 2)
        return true;                
    else
        REALM_ASSERT(false);        
    return false;
}
inline bool ArrayBinary :: legacy_array_type ( ) const noexcept { if ( Array :: size ( ) == 3 ) return false ; else if ( Array :: size ( ) == 2 ) return true ; else REALM_ASSERT ( false ) ; return false ; }
Old database files will not have the m_nulls array, so we need code paths for
backwards compatibility for these cases.
Old database files will not have the m_nulls array so we need code paths for backwards compatibility for these cases .
// New database file // Old database file // Should never happen