Avoid iteration through non arrays