We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e4f76f commit b8cedf8Copy full SHA for b8cedf8
src/Data/UInt.purs
@@ -231,7 +231,7 @@ ceil = fromNumber <<< Number.ceil <<< clamp'
231
round :: Number -> UInt
232
round = fromNumber <<< Number.round <<< clamp'
233
234
--- | Returns whether an `Int53` is an even number.
+-- | Returns true if the `UInt` is an even number.
235
-- |
236
-- | > even (fromInt 0)
237
-- | true
@@ -241,7 +241,7 @@ round = fromNumber <<< Number.round <<< clamp'
241
even :: UInt -> Boolean
242
even u = u `mod` (fromInt 2) == (fromInt 0)
243
244
--- | Returns whether an `Int53` is an odd number.
+-- | Returns true if the `UInt` is an odd number.
245
246
-- | > odd (fromInt 0)
247
-- | false
0 commit comments