Click or drag to resize

EmptyT Function (T)

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 T[]
)
 AS LOGIC
Request Example View Source

Parameters

uValue
Type: T
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 T[] values the 'emptyness' is determined by comparing to NULL and by checking if the length is 0
See Also