isNaN to !isFinite.