{% setvar book_path %}/reference/kotlin/dokkatest/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}

dokkatest.toplevel

{% setvar page_path %}dokkatest/toplevel/package-summary.html{% endsetvar %} {% setvar can_switch %}1{% endsetvar %} {% include "reference/_kotlin_switcher2.md" %}

Hello, I'm a package summary!

Classes

Foo

Annotations

Wassup

Howdy!

Type aliases

Bar

Constants summary

const Boolean

Humpty Dumpty sat on a wall...

Top-level properties summary

Foo

Top-level functions summary

Unit
a()
String
b(i1: Int?, i2: String?, i3: Boolean, foo: Foo)

Top level function docs next to a.

Nothing

This function is deprecated. This method was too sad.

Extension properties summary

Int

The Wheels on the Bus go round and round...

Extension functions summary

suspend inline @Wassup(a = "hello", f = ["world"]) () -> List<Float>?
<T : Any?, R : Number> T.(Int) -> List<R>.foo(
    a: T,
    c: vararg Int,
    stuff: () -> crossinline () -> String?,
    @Wassup block: suspend Set<Boolean>.(Map<String?, List<T>>, mapper: (Double?) -> Double) -> Collection<R?>
)

A brutally difficult function to render.

Constants

bool

const val boolBoolean

Humpty Dumpty sat on a wall...

Top-level properties

hello

val helloFoo

Top-level functions

a

fun a(): Unit

b

fun b(i1: Int?, i2: String?, i3: Boolean, foo: Foo): String

Top level function docs next to a. This is a second sentence. Talk to world.

sadBoi

fun sadBoi(): Nothing

I'm so sad, they're deleting me!

Extension properties

world

val String.worldInt

The Wheels on the Bus go round and round...

Extension functions

foo

@Wassup(a = "hello", f = ["world"])
suspend inline fun <T : Any?, R : Number> T.(Int) -> List<R>.foo(
    a: T,
    c: vararg Int,
    stuff: () -> crossinline () -> String? = { { "Nests." } },
    @Wassup block: suspend Set<Boolean>.(Map<String?, List<T>>, mapper: (Double?) -> Double) -> Collection<R?>
): @Wassup(a = "hello", f = ["world"]) () -> List<Float>?

A brutally difficult function to render. Good luck!

Sarcastic laugh

Parameters
T.(Int) -> List<R>

what is even going on here

a: T

choose your own adventure!

c: vararg Int

any number of ints

stuff: () -> crossinline () -> String? = { { "Nests." } }

lambdas

@Wassup block: suspend Set<Boolean>.(Map<String?, List<T>>, mapper: (Double?) -> Double) -> Collection<R?>

Lots, and LOTS of lambdas. Oh, and suspending ones too.

Returns
@Wassup(a = "hello", f = ["world"]) () -> List<Float>?

a list of... something?

Throws
kotlin.IllegalStateException

because the world is broken

See also
b

it's a lot simpler