CommonIsDefaultValue Method

Determines if given item is equal to its default value (e.g., null or 0.0).

Definition

Namespace: Gemstone
Assembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.138 -- Release Build+dacff88cce10d287c7434d5aac59c76948c712b1
public static bool IsDefaultValue(
	Object? item
)

Parameters

item  Object
Object to evaluate.

Return Value

Boolean
Result of evaluation as a Boolean.

Remarks

Native types default to zero, not null, therefore this can be used to evaluate if an item is its default (i.e., uninitialized) value.

See Also