Package-level declarations

Types

Link copied to clipboard
external interface ArrayLike<out T>
Link copied to clipboard
sealed external class JsArray
Link copied to clipboard
typealias JsPair<A, B> = JsTuple2<A, B>
Link copied to clipboard
sealed external interface JsTuple
Link copied to clipboard
sealed external interface JsTuple1<out A> : JsTuple
Link copied to clipboard
sealed external interface JsTuple2<out A, out B> : JsTuple1<A>
Link copied to clipboard
sealed external interface JsTuple3<out A, out B, out C> : JsTuple2<A, B>
Link copied to clipboard
sealed external interface JsTuple4<out A, out B, out C, out D> : JsTuple3<A, B, C>
Link copied to clipboard
sealed external interface JsTuple5<out A, out B, out C, out D, out E> : JsTuple4<A, B, C, D>
Link copied to clipboard
sealed external interface JsTuple6<out A, out B, out C, out D, out E, out F> : JsTuple5<A, B, C, D, E>
Link copied to clipboard
sealed external interface JsTuple7<out A, out B, out C, out D, out E, out F, out G> : JsTuple6<A, B, C, D, E, F>
Link copied to clipboard
external interface MutableArrayLike<T> : ArrayLike<T>
Link copied to clipboard
typealias ReadonlyArray<T> = Array<out T>

Functions

Link copied to clipboard
fun <T> ArrayLike<T>.asList(): List<T>
Link copied to clipboard
inline fun emptyTuple(): JsTuple
Link copied to clipboard
inline fun <A, B> JsPair(a: A, b: B): JsTuple2<A, B>
Link copied to clipboard
inline fun <T> Array<T>.push(item: T)
inline fun <T> Array<T>.push(vararg items: T)
Link copied to clipboard
Link copied to clipboard
inline fun <A> tupleOf(first: A): JsTuple1<A>
inline fun <A, B> tupleOf(first: A, second: B): JsTuple2<A, B>
inline fun <A, B, C> tupleOf(first: A, second: B, third: C): JsTuple3<A, B, C>
inline fun <A, B, C, D> tupleOf(first: A, second: B, third: C, fourth: D): JsTuple4<A, B, C, D>
inline fun <A, B, C, D, E> tupleOf(first: A, second: B, third: C, fourth: D, fifth: E): JsTuple5<A, B, C, D, E>
inline fun <A, B, C, D, E, F> tupleOf(first: A, second: B, third: C, fourth: D, fifth: E, sixth: F): JsTuple6<A, B, C, D, E, F>
inline fun <A, B, C, D, E, F, G> tupleOf(first: A, second: B, third: C, fourth: D, fifth: E, sixth: F, seventh: G): JsTuple7<A, B, C, D, E, F, G>