Is before?
Comparison
Pure
Is before?
A
1970-01-01T00:00:00Z
Result
B
1970-01-01T00:00:00Z
Description
Pure function returning true if A is before B.
When to use
Use Is before? to compare two datetime values — for example, checking whether a deadline has not yet passed or whether an event starts before the current moment. Wire Now into one of the inputs to anchor the comparison to the present. Feed the result into Branch to route execution based on the temporal relationship.
Pins
Input pins
| Pin | Type | Default | Notes |
|---|---|---|---|
| A | datetime | 1970-01-01T00:00:00Z | The datetime to test. |
| B | datetime | 1970-01-01T00:00:00Z | The reference datetime. |
Output pins
| Pin | Type | Notes |
|---|---|---|
| Result | boolean | True if a is strictly before b; false otherwise. |
Example
Skip processing if a scheduled deadline has already passed. Wire the Result output of Now into the A input of Is before? and the deadline datetime into the B input. Connect the Result output to the Condition input of Branch. The True execution output runs only while the deadline is still in the future; the False output routes to Fail with a “Deadline passed” message.