Skip to content

Commit

Permalink
simplify array check optimization
Browse files Browse the repository at this point in the history
  • Loading branch information
PgBiel committed Jan 15, 2025
1 parent a252b3e commit af5d1a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/types/base.typ
Original file line number Diff line number Diff line change
Expand Up @@ -487,7 +487,7 @@
_ => false
} else if "any" in param.input {
// Only need to run checks
a => a.all(x => (param.check)(x))
a => a.all(param.check)
} else {
// Some optimizations ahead
// The proper code is at the bottom
Expand Down

0 comments on commit af5d1a9

Please sign in to comment.