Class: QgsProcessingOutputBoolean

class qgis.core.QgsProcessingOutputBoolean

Bases: QgsProcessingOutputDefinition

A boolean output for processing algorithms.

New in version 3.8.

QgsProcessingOutputBoolean(name: str, description: str = ‘’) Constructor for QgsProcessingOutputNumber.

QgsProcessingOutputBoolean(QgsProcessingOutputBoolean)

Methods

type

rtype:

str

typeName

Returns the type name for the output class.

valueAsString

param value:

type(self) str
Return type:

str

typeName() str

Returns the type name for the output class.

Return type:

str

valueAsString(self, value: Any, context: QgsProcessingContext) Tuple[str, bool]
Parameters:
Return type:

Tuple[str, bool]