Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
eeaff786f0d0a86b7b827da0028bbafe287d3c04
/
.
/
compiler
/
testData
/
codegen
/
box
/
boxing
/
boxBoolean.kt
blob: fc084cb7059ceb43aa4ab04ccf08fe984d6565db [
file
]
fun box
():
String
{
val lhs
:
Any
?
=
true
val rhs
:
Any
?
=
false
if
(
lhs
is
Boolean
&&
rhs
is
Boolean
)
{
if
(
lhs
.
compareTo
(
rhs
)
==
1
)
return
"OK"
}
return
"Fail"
}