mirror of
https://github.com/johndoe6345789/AutoMetabuilder.git
synced 2026-04-30 08:45:00 +00:00
8 lines
214 B
Python
8 lines
214 B
Python
"""Workflow plugin: boolean not."""
|
|
from ...value_helpers import ValueHelpers
|
|
|
|
|
|
def run(_runtime, inputs):
|
|
"""Negate a boolean value."""
|
|
return {"result": not ValueHelpers.coerce_bool(inputs.get("value"))}
|