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
- rtype:
str
Returns the type name for the output class.
- 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:
value (Any) –
context (QgsProcessingContext) –
- Return type:
Tuple[str, bool]