Skip to content

Commit

Permalink
Update page.mdx
Browse files Browse the repository at this point in the history
Updated the if-else example condition for when input.is_active is false.
  • Loading branch information
DivineStudio authored Jan 7, 2025
1 parent fde73db commit f356672
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ const workflow = createWorkflow(
const notIsActiveResult = when(
input,
(input) => {
return input.is_active
return !input.is_active
}
).then(() => {
return notIsActiveStep()
Expand Down

0 comments on commit f356672

Please sign in to comment.