CommandHelper

CommandHelper

46.5k Downloads

is_integral(null) return true

LadyCailinBot opened this issue ยท 1 comments

commented

CMDHELPER-2766 - Reported by Hekta

is_integral(null) return true

commented

Comment by LadyCailin

This isn't a bug, actually, though it could be better documented. integer(null) == null, so "no data is lost" per the documentation, because null coerces to 0. (As opposed to, for instance integer(4.5) != 4.5).

I will better document this though.