Skip to content

[NODE] Add Bool Operation documentation #37

@ShambaC

Description

@ShambaC

Node Config

{
    title: "Boolean Operation",
    category: "flow",
    type: "bool_operation",
    icon: {},
    desc: "Performs a logical operation based on a condition",
    credit: 100,
    inputs: [
        {
            desc: "First input",
            name: "Input 1",
            type: "Boolean",
        },
        {
            desc: "Second input",
            name: "Input 2",
            type: "Boolean",
        },
    ],
    outputs: [
        {
            desc: "The Flow of the Condition if true",
            name: "True",
            type: "Flow",
        },
        {
            desc: "The Flow of the Condition if false",
            name: "False",
            type: "Flow",
        },
        {
            desc: "Result",
            name: "Result",
            type: "Boolean",
        },
    ],
    fields: [
        {
            desc: "Logic (NOT operation only works on input 1)",
            name: "Logic",
            type: "select",
            value: "AND",
            options: ["AND", "OR", "NOT"],
        },
    ],
    difficulty: "easy",
    tags: ["logic", "and", "or", "not"],
}

Additional Information

Long Description:
Perform boolean logical operations on boolean values

Use Cases:

  • Add complex conditional logic to your agent
  • Add multiple conditions

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions