You are right. It doesn't make sense.

Anyway, since the functions work for both array and objects, the names are ok.