Element - ₂
- Is Even
Characters:
₂
Description
Check if a value is even
Overloads
num
-a % 2 == 0 (even?)
any
-len(a) % 2 == 0 (length even?)
Examples
2 ₂
=1
⟨1|2⟩ ₂
=1
₂
- Is EvenCharacters:
₂
Check if a value is even
num
- a % 2 == 0 (even?)
any
- len(a) % 2 == 0 (length even?)
2 ₂
=
1
⟨1|2⟩ ₂
=
1