Skip to content

Commit

Permalink
Fix If comment
Browse files Browse the repository at this point in the history
  • Loading branch information
chasefleming committed Nov 1, 2023
1 parent a802822 commit 72ab72d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ func ApplyStyle(s Style) string {
return s.String()
}

// Show conditionally renders one of the provided elements based on the condition
// If conditionally renders one of the provided elements based on the condition
func If[T any](condition bool, ifTrue, ifFalse T) T {
if condition {
return ifTrue
Expand Down

0 comments on commit 72ab72d

Please sign in to comment.