Click or drag to resize

EmptyT Function (ICollectionT)

X#
Determine if the result of an expression is empty.

Namespace:  XSharp.RT
Assembly:  XSharp.RT (in XSharp.RT.dll) Version: 2.19
Syntax
 FUNCTION Empty<T>(
	uValue AS ICollection<T>
)
 AS LOGIC
Request Example View Source

Parameters

uValue
Type: ICollectionT
The value to check for 'emptyness'

Type Parameters

T

Return Value

Type: Logic
TRUE if the expression results in an empty value; otherwise, FALSE.
Remarks
For ICollection<T> values the 'emptyness' is determined by comparing to NULL and by checking if the Count is 0
See Also