Rabbinatix
Sign inGet started
Store

Age in range

FreeLogic
@rabbinatix/age-in-range by Rabbinatixupdated Oct 4, 2026

A whole number from 18 to 120.

Sign in to add

Validate Type checks it is an integer, Validate Range checks the limits (set on the node). The type message wins, as with the other validation packages.

Shows: Validate Type, Validate Range.

How to use it

Add it to your logic, then add a Call Function step in any logic and pick Age in range. It belongs to no system, so every system can use it. Or download the TypeScript and call it from your own code.

Inputs
age: Number
Outputs
valid: Yes / No
message: Text
Previewdrag the steps around; scroll to zoom
Function Entry, Input / output. 0 inputs, 2 outputs. step 1 of 6
Age in range
age
Validate Type, Validation. 1 input, 2 outputs. step 2 of 6
Validate Type (age)
value
valid
message
Validate Range, Validation. 1 input, 2 outputs. step 3 of 6
Validate Range (age)
value
valid
message
AND, Operators. 2 inputs, 1 output. step 4 of 6
AND
A
B
result
Select, Data. 3 inputs, 1 output. step 5 of 6
Select
condition
if true
if false
value
Return, Input / output. 3 inputs, 0 outputs. step 6 of 6
Return
valid
message

Arrow keys: next or previous step in flow order. Alt with arrows: nearest step in that direction. Enter: open. Shift F10: more actions.

100%
Examplesrun live against the logic · 3/3 pass
PassedExampleInputOutput
Adult{"age":30}{"valid":true,"message":""}
Too young{"age":17}{"valid":false,"message":"age must be ≥ 18"}
Not whole{"age":30.5}{"valid":false,"message":"age must be integer"}
Try it
Versions
In this package
Age in range (entry)