NumberObjectExtension extension

Extension for Object nullable.

on

Properties

isDynamicNumberValue bool

Available on Object?, provided by the NumberObjectExtension extension

Returns true if this object is a DynamicNumber.
no setter
isNumericOrDynamicNumberValue bool

Available on Object?, provided by the NumberObjectExtension extension

Returns true if this object is a number (num, BigInt or DynamicNumber). See isNumericValue and isDynamicNumberValue.
no setter
isNumericValue bool

Available on Object?, provided by the NumberObjectExtension extension

Returns true if this object is a number (num or BigInt).
no setter

Methods

whenNull<T>(T defaultValue) → T

Available on Object?, provided by the NumberObjectExtension extension

Returns defaultValue if this == null.