Skip to content

Commit 12907a0

Browse files
kotlin-samples-pusher-botAlexanderPrendota
authored andcommitted
test(samples): add new samples
1 parent e6064d2 commit 12907a0

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/test/resources/test-compile-data/jvm/kotlin-web-site/booleans/12bb120f56ea8aee70a72c46b1a1383f.1.kt

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,14 @@ fun main() {
33
val myTrue: Boolean = true
44
val myFalse: Boolean = false
55
val boolNull: Boolean? = null
6-
6+
77
println(myTrue || myFalse)
8+
// true
89
println(myTrue && myFalse)
10+
// false
911
println(!myTrue)
12+
// false
13+
println(boolNull)
14+
// null
1015
//sampleEnd
1116
}

0 commit comments

Comments
 (0)