Skip to content

Commit

Permalink
tmp
Browse files Browse the repository at this point in the history
  • Loading branch information
rsteube committed Sep 21, 2024
1 parent 709bc96 commit 946deb3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion action.go
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,7 @@ func (a Action) Unless(condition bool) Action {
})
}

// UnlessF skips invokation if given condition succeeds.
// UnlessF skips invokation if given condition returns true.
func (a Action) UnlessF(condition func(c Context) bool) Action {
return ActionCallback(func(c Context) Action {
if condition(c) {
Expand Down

0 comments on commit 946deb3

Please sign in to comment.