Updated on 2026-08-14

This commit is contained in:
Tangem 2023-04-16 15:49:36 +03:00
parent f345835792
commit d4eb48822a
6 changed files with 58 additions and 13 deletions

View file

@ -0,0 +1,8 @@
package com.tangem.utils.extensions
/**
[REDACTED_AUTHOR]
*/
fun Int.isEven(): Boolean = this % 2 == 0
fun Int.isOdd(): Boolean = !this.isEven()