Empty Function (Usual) | |
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(
uValue AS USUAL
) AS LOGIC
public static bool Empty(
Usual uValue
)
Request Example
View SourceParameters
- uValue
- Type: Usual
An expression of any data type.
The criteria for determining whether a value is considered empty depends on the data type of uValue, according to the following rules:
Data Type | Contents |
---|
Array | NULL_ARRAY or empty array |
Code block | NULL_CODEBLOCK |
Date | NULL_DATE |
Logic | FALSE |
NIL | NIL |
VOID | TRUE |
Numeric | 0 |
Object | NULL_OBJECT |
PSZ | NULL_PSZ |
PTR | NULL_PTR |
String | Spaces, tabs, carriage return/line feed, or NULL_STRING |
Symbol | NULL_SYMBOL |
Return Value
Type:
Logic
TRUE if the expression results in an empty value; otherwise, FALSE.
See Also