Would you mind using `Array.isArray` here? I'm trying to get away from the Lo-Dash gradually.