Why wouldn't it be an object though - If people are passing in a non object or non array it should fail hard rather than silent imo.