Click or drag to resize

CommonIsDefaultValue Method

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

Namespace: GSF
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.218-beta+101eee949414e414795e55a6e73d88938f0177b8
Syntax
public static bool IsDefaultValue(
	Object item
)
View Source

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