Lo-Dash's isArray function as a component