Guard

A sequence containing either a single void value, or an empty sequence, depending on whether the condition evaluates to true or false.

Syntax

Sequence.Guard
   ·  [condition]

Parameters

condition
The condition.

Return Value

A sequence containing a single void value if the condition was true, or an empty sequence otherwise.