// Kotlin Require Example // Source code file TestAssert.kt // The Kotlin require statement is // reminiscent of assertEquals. // It throws an exception // if the statement is not true. fun main(args: Array) { var limit = 1000 require(limit >= 500) }