I only added this to match the existing handling of nullish arguments.  If we want to do stronger type checking let's address that in a separate pull.

Updated to use `array == null` instead in 081ff90.