Join Slack
Powered by
How do I OR together constants in Kotlin?
# getting-started
s
Steve
03/18/2020, 7:51 PM
How do I OR together constants in Kotlin?
c
Casey Brooks
03/18/2020, 7:58 PM
Just like OR-ing any other booleans
https://pl.kotl.in/q5IKNfykQ
p
phldavies
03/18/2020, 8:01 PM
if you’re talking about numeric constants, you can seemingly still use the infix
or
function:
https://pl.kotl.in/CC1dCZ_P3
s
Steve
03/18/2020, 8:04 PM
Numeric constants. Thanks
👍 2
Open in Slack
Previous
Next