IntegerComparator.cast

static IntegerComparator.cast(value, _type)

Best effort to cast value to type. Otherwise, returns the value.