The empty type if x is false, itself otherwise.

Synopsis

Declared in <script/miniscript.h>

constexpr
Type
If(bool x) const;

Return Value

This type when x is true, otherwise the empty type.

Parameters

Name

Description

x

Whether to keep this type's properties.

Created with MrDocs