SkipEmptyBox


If the input box has both dimensions different from zero, then it is copied to the output; otherwise Nil is returned.

Applications:Secures against domain errors caused by empty boxes.

Syntax

C++
Python
 
def SkipEmptyBox(
	inBox: Box,
	/
)
-> (
	outNotEmptyBox: Box | None,
	outIsNotEmpty: bool
)

Parameters

Name Type Default Description
Input value inBox Box
Output value outNotEmptyBox Box | None
Output value outIsNotEmpty bool