jsMain.internal.commonFunctions.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of kotlinx-collections-immutable-metadata Show documentation
Show all versions of kotlinx-collections-immutable-metadata Show documentation
Kotlin Immutable Collections multiplatform library
The newest version!
/*
* Copyright 2016-2019 JetBrains s.r.o.
* Use of this source code is governed by the Apache 2.0 License that can be found in the LICENSE.txt file.
*/
package kotlinx.collections.immutable.internal
internal actual fun assert(condition: Boolean) {
if (!condition) {
throw AssertionError("Assertion failed")
}
}
internal actual var AbstractMutableList<*>.modCount: Int
get() = 0
set(value) {}