Logic · Value
Is between
True when a number is between two others (both ends count).
logic.in_range
In a flow
“Works out is between whenever a step wired to it needs the answer.”
15 between 10 and 20 → true
What it does
True when a number is between two others (both ends count). It's a value node: no white pins, it works out its answer when a step wired to it needs it. It gives 1 value later steps can use. Find it under Logic in the palette.
When to use it
Use it to decide what happens next: true when a number is between two others (both ends count).
When not to
For a value that never changes, type it into the setting instead of wiring a node.
Typical wiring
Sockets: settings you can wire
- Number Number
-
The number to check, like a member's level.
What goes there: Type it in the side panel, or wire in a number. e.g. 42
If it's empty: Optional. Left empty and unwired, it uses 0.
Connects fromA member's variablesAccept applicationActive membersAddAdd a forum tagAdd a labelAdd a row to a Google SheetAdd a staff noteand 501 more
- From Number
-
The smallest that counts, like 10.
What goes there: Type it in the side panel, or wire in a number. e.g. 42
If it's empty: Optional. Left empty and unwired, it uses 0.
Connects fromA member's variablesAccept applicationActive membersAddAdd a forum tagAdd a labelAdd a row to a Google SheetAdd a staff noteand 501 more
- To Number
-
The biggest that counts, like 20.
What goes there: Type it in the side panel, or wire in a number. e.g. 42
If it's empty: Optional. Left empty and unwired, it uses 100.
Connects fromA member's variablesAccept applicationActive membersAddAdd a forum tagAdd a labelAdd a row to a Google SheetAdd a staff noteand 501 more
Values it gives
- Result Yes / no
-
True when it's inside. e.g. true
If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.
Connects toAdd a forum tagAdd onboarding questionAdd to a counterAlarms that are dueAndAutoMod: Discord's word listsBluesky latest postBoard as emojiand 573 more
Often next
- Alarms that are due
- Upcoming alarms
- AutoMod: Discord's word lists
- Bluesky latest post
- Clear a leaderboard