this repo has no description
1import { Node, NodeType } from "../../structs/node";
2import { NodeDefinition } from "../Nodes";
3
4export let NodeConditionalIfEqual: NodeDefinition = {
5 os: 'any',
6
7 isSingle: true,
8 name: 'If Equal',
9 typeId: 'ifequal',
10
11 w: 220,
12
13 statics: [{
14 type: NodeType.Label,
15 name: 'If Equal',
16 value: null
17 }],
18
19 inputs: [
20 { name: "Flow", type: NodeType.Flow },
21 { name: "Input 1", type: NodeType.AnyTypeA },
22 { name: "Input 2", type: NodeType.AnyTypeA },
23 ],
24
25 outputs: [
26 { name: "Equal", type: NodeType.Flow },
27 { name: "Not Equal", type: NodeType.Flow },
28 ],
29
30 onStaticsUpdate: async ( _node: Node ) => {}
31}