EmptyT Function (T) | |
Determine if the result of an expression is empty.
Namespace:
XSharp.RT
Assembly:
XSharp.RT (in XSharp.RT.dll) Version: 2.21
Syntax FUNCTION Empty<T>(
uValue AS T
)
WHERE T : STRUCT, NEW()
AS LOGIC
public static bool Empty<T>(
T uValue
)
where T : struct, new()
Request Example
View SourceParameters
- 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 calling the Equals() operator and comparing to a DEFAULT(T)
See Also