from lnx.logicnode.lnx_nodes import *

class NotNode(LnxLogicTreeNode):
    """Inverts the plugged-in boolean. If its input is `true` it outputs `false`."""
    bl_idname = 'LNNotNode'
    bl_label = 'Invert Boolean'
    lnx_version = 1

    def lnx_init(self, context):
        self.add_input('LnxBoolSocket', 'Bool In')

        self.add_output('LnxBoolSocket', 'Bool Out')