All Downloads are FREE. Search and download functionalities are using the official Maven repository.

core.core.kt Maven / Gradle / Ivy

There is a newer version: 1.0.7
Show newest version
package kotlin.js

import java.util.*;

native
public val  noImpl: T = throw Exception()

native
public fun eval(expr: String): dynamic = noImpl

native
public fun typeof(a: Any?): String = noImpl

native
public val undefined: Nothing? = noImpl

// Drop this after KT-2093 will be fixed and restore MutableMap.set in Maps.kt from MapsJVM.kt
/** Provides [] access to maps */
@suppress("BASE_WITH_NULLABLE_UPPER_BOUND")
native public fun  MutableMap.set(key: K, value: V): V? = noImpl

library
public fun println() {}
library
public fun println(s : Any?) {}
library
public fun print(s : Any?) {}

//TODO: consistent parseInt
native
public fun parseInt(s: String, radix: Int = 10): Int = noImpl
library
public fun safeParseInt(s : String) : Int? = noImpl
library
public fun safeParseDouble(s : String) : Double? = noImpl

native
public fun js(code: String): dynamic = noImpl




© 2015 - 2025 Weber Informatics LLC | Privacy Policy