Skip to content

Commit

Permalink
fix polyfill version
Browse files Browse the repository at this point in the history
  • Loading branch information
PgBiel committed Oct 1, 2024
1 parent da06f9d commit f58c8bd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion oxifmt.typ
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@

#let using-080 = type(type(5)) != _str-type
#let using-090 = using-080 and str(-1).codepoints().first() == "\u{2212}"
#let using-0110 = using-090 and sys.version >= version(0, 11, 0)

#let _arr-chunks = if using-090 {
#let _arr-chunks = if using-0110 {
array.chunks
} else {
(arr, chunks) => {
Expand Down

0 comments on commit f58c8bd

Please sign in to comment.