Is Empty
Checks if the given input is empty. An input is considered empty if there is no data. A string or array of size 0 is considered empty whereas a blank string ‘ ‘ is not empty. A float with value 0.0 and int[2] with value [0, 0] are not empty.
Installation
To use this node enable omni.graph.nodes in the Extension Manager.
Inputs
Name |
Type |
Descripton |
Default |
---|---|---|---|
Input (inputs:input) |
|
The input to check if empty |
None |
Outputs
Name |
Type |
Descripton |
Default |
---|---|---|---|
Is Empty (outputs:isEmpty) |
|
True if the input is empty, false otherwise |
None |
Metadata
Name |
Value |
---|---|
Unique ID |
omni.graph.nodes.IsEmpty |
Version |
1 |
Extension |
omni.graph.nodes |
Has State? |
False |
Implementation Language |
C++ |
Default Memory Type |
cpu |
Generated Code Exclusions |
None |
uiName |
Is Empty |
Categories |
function |
Generated Class Name |
OgnIsEmptyDatabase |
Python Module |
omni.graph.nodes |