Updated on 2026-08-14
This commit is contained in:
parent
f345835792
commit
d4eb48822a
6 changed files with 58 additions and 13 deletions
|
|
@ -0,0 +1,8 @@
|
|||
package com.tangem.utils.extensions
|
||||
|
||||
/**
|
||||
[REDACTED_AUTHOR]
|
||||
*/
|
||||
fun Int.isEven(): Boolean = this % 2 == 0
|
||||
|
||||
fun Int.isOdd(): Boolean = !this.isEven()
|
||||
Loading…
Add table
Add a link
Reference in a new issue