Solutions
Multiplatform
Server-side
Data science
Android
Docs
Community
Teach
Play
Playground
Examples
Koans
toggle menu
Kotlin libraries
2.1
2.1
2.0
1.9
1.8
1.7
1.6
1.5
1.4
1.3
1.2
1.1
1.0
Common
switch theme
kotlin-reflect
kotlin.
reflect.
full
all
Superclasses
all
Supertypes
call
Suspend()
call
Suspend
By()
cast()
companion
Object
companion
Object
Instance
create
Instance()
create
Type()
declared
Functions
declared
Member
Extension
Functions
declared
Member
Extension
Properties
declared
Member
Functions
declared
Member
Properties
declared
Members
default
Type
extension
Receiver
Parameter
find
Annotation()
find
Annotations()
find
Parameter
By
Name()
functions
get
Extension
Delegate()
has
Annotation()
Illegal
Callable
Access
Exception
Illegal
Property
Delegate
Access
Exception
instance
Parameter
is
Subclass
Of()
is
Subtype
Of()
is
Superclass
Of()
is
Supertype
Of()
member
Extension
Functions
member
Extension
Properties
member
Functions
member
Properties
No
Such
Property
Exception
primary
Constructor
safe
Cast()
star
Projected
Type
static
Functions
static
Properties
superclasses
value
Parameters
with
Nullability()
kotlin.
reflect.
jvm
Experimental
Reflection
On
Lambdas
is
Accessible
java
Constructor
java
Field
java
Getter
java
Method
java
Setter
java
Type
jvm
Erasure
jvm
Name
kotlin
Function
kotlin
Property
reflect()
All
Types
kotlin-stdlib
kotlin
add
Suppressed()
also()
and()
Annotation
Any
apply()
Arithmetic
Exception
Array
Array
Index
Out
Of
Bounds
Exception
array
Of()
array
Of
Nulls()
assert()
Assertion
Error
Auto
Closeable
Auto
Closeable()
Boolean
Companion
Boolean
Array
boolean
Array
Of()
Builder
Inference
Byte
Companion
Byte
Array
byte
Array
Of()
Char
Companion
Char()
Char
Array
char
Array
Of()
Char
Sequence
check()
check
Not
Null()
Class
Cast
Exception
code
Comparable
Comparator
compare
To()
Concurrent
Modification
Exception
Consistent
Copy
Visibility
Context
Function
Type
Params
count
Leading
Zero
Bits()
count
One
Bits()
count
Trailing
Zero
Bits()
dec()
Deep
Recursive
Function
Deep
Recursive
Scope
Deprecated
Deprecated
Since
Kotlin
Deprecation
Level
WARNING
ERROR
HIDDEN
div()
Double
Companion
Double
Array
double
Array
Of()
Dsl
Marker
Eager
Initialization
empty
Array()
Enum
Companion
enum
Value
Of()
enum
Values()
Error
error()
Exception
Experimental
Multiplatform
Experimental
Stdlib
Api
Experimental
Subclass
Opt
In
Experimental
Unsigned
Types
Exposed
Copy
Visibility
Extension
Function
Type
Float
Companion
Float
Array
float
Array
Of()
floor
Div()
fold()
from
Bits()
Function
get
Or
Default()
get
Or
Else()
get
Or
Throw()
get
Value()
hash
Code()
Illegal
Argument
Exception
Illegal
State
Exception
inc()
Index
Out
Of
Bounds
Exception
Int
Companion
Int
Array
int
Array
Of()
inv()
invoke()
is
Finite()
is
Infinite()
is
Initialized
is
Na
N()
Js
Fun
Kotlin
Version
Companion
Lazy
lazy()
lazy
Of()
Lazy
Thread
Safety
Mode
SYNCHRONIZED
PUBLICATION
NONE
let()
Long
Companion
Long
Array
long
Array
Of()
map()
map
Catching()
Metadata
minus()
mod()
No
Such
Element
Exception
Nothing
Not
Implemented
Error
No
When
Branch
Matched
Exception
Null
Pointer
Exception
Number
Number
Format
Exception
on
Failure()
on
Success()
Opt
In
Optional
Expectation
or()
Out
Of
Memory
Error
Overload
Resolution
By
Lambda
Return
Type
Pair
Parameter
Name
plus()
print
Stack
Trace()
Published
Api
recover()
recover
Catching()
rem()
repeat()
Replace
With
require()
require
Not
Null()
Requires
Opt
In
Level
WARNING
ERROR
Result
Companion
rotate
Left()
rotate
Right()
run()
run
Catching()
Runtime
Exception
set
Value()
shl()
Short
Companion
Short
Array
short
Array
Of()
shr()
Since
Kotlin
stack
Trace
stack
Trace
To
String()
String
Companion
Subclass
Opt
In
Required
Suppress
suppressed
Exceptions
suspend()
synchronized()
take
Highest
One
Bit()
take
If()
take
Lowest
One
Bit()
take
Unless()
Throwable
Throws
times()
to()
to
Big
Decimal()
to
Big
Integer()
to
Bits()
TODO()
to
List()
to
Raw
Bits()
to
String()
to
UByte()
to
UInt()
to
ULong()
to
UShort()
Triple
UByte
Companion
UByte
Array
UByte
Array()
ubyte
Array
Of()
UInt
Companion
UInt
Array
UInt
Array()
uint
Array
Of()
ULong
Companion
ULong
Array
ULong
Array()
ulong
Array
Of()
unary
Minus()
Uninitialized
Property
Access
Exception
Unit
Unsafe
Variance
Unsupported
Operation
Exception
use()
UShort
Companion
UShort
Array
UShort
Array()
ushort
Array
Of()
with()
xor()
kotlin.
annotation
Annotation
Retention
SOURCE
BINARY
RUNTIME
Annotation
Target
CLASS
ANNOTATION_
CLASS
TYPE_
PARAMETER
PROPERTY
FIELD
LOCAL_
VARIABLE
VALUE_
PARAMETER
CONSTRUCTOR
FUNCTION
PROPERTY_
GETTER
PROPERTY_
SETTER
TYPE
EXPRESSION
FILE
TYPEALIAS
Must
Be
Documented
Repeatable
Retention
Target
kotlin.
collections
Abstract
Collection
Abstract
Iterator
Abstract
List
Abstract
Map
Abstract
Mutable
Collection
Abstract
Mutable
List
Abstract
Mutable
Map
Abstract
Mutable
Set
Abstract
Set
add
All()
aggregate()
aggregate
To()
all()
any()
Array
Deque
Array
List
array
List
Of()
as
Byte
Array()
as
Int
Array()
as
Iterable()
as
List()
as
Long
Array()
as
Reversed()
as
Sequence()
as
Short
Array()
associate()
associate
By()
associate
By
To()
associate
To()
associate
With()
associate
With
To()
as
UByte
Array()
as
UInt
Array()
as
ULong
Array()
as
UShort
Array()
average()
binary
Search()
binary
Search
By()
Boolean
Iterator
build
List()
build
Map()
build
Set()
Byte
Iterator
Char
Iterator
chunked()
Collection
component1()
component2()
component3()
component4()
component5()
contains()
contains
All()
contains
Key()
contains
Value()
content
Deep
Equals()
content
Deep
Hash
Code()
content
Deep
To
String()
content
Equals()
content
Hash
Code()
content
To
String()
copy
Into()
copy
Of()
copy
Of
Range()
count()
distinct()
distinct
By()
Double
Iterator
drop()
drop
Last()
drop
Last
While()
drop
While()
each
Count()
each
Count
To()
element
At()
element
At
Or
Else()
element
At
Or
Null()
empty
List()
empty
Map()
empty
Set()
fill()
filter()
filter
Indexed()
filter
Indexed
To()
filter
Is
Instance()
filter
Is
Instance
To()
filter
Keys()
filter
Not()
filter
Not
Null()
filter
Not
Null
To()
filter
Not
To()
filter
To()
filter
Values()
find()
find
Last()
first()
first
Not
Null
Of()
first
Not
Null
Of
Or
Null()
first
Or
Null()
flat
Map()
flat
Map
Indexed()
flat
Map
Indexed
To()
flat
Map
To()
flatten()
Float
Iterator
fold()
fold
Indexed()
fold
Right()
fold
Right
Indexed()
fold
To()
for
Each()
for
Each
Indexed()
get()
get
Or
Default()
get
Or
Else()
get
Or
Null()
get
Or
Put()
get
Value()
group
By()
group
By
To()
Grouping
grouping
By()
Hash
Map
hash
Map
Of()
Hash
Set
hash
Set
Of()
if
Empty()
Indexed
Value
index
Of()
index
Of
First()
index
Of
Last()
indices
intersect()
Int
Iterator
is
Empty()
is
Not
Empty()
is
Null
Or
Empty()
Iterable
Iterable()
Iterator
iterator()
join
To()
join
To
String()
last()
last
Index
last
Index
Of()
last
Or
Null()
Linked
Hash
Map
Linked
Hash
Set
linked
Map
Of()
linked
Set
Of()
linked
String
Map
Of()
linked
String
Set
Of()
List
List()
List
Iterator
list
Of()
list
Of
Not
Null()
Long
Iterator
Map
Entry
map()
map
Indexed()
map
Indexed
Not
Null()
map
Indexed
Not
Null
To()
map
Indexed
To()
map
Keys()
map
Keys
To()
map
Not
Null()
map
Not
Null
To()
map
Of()
map
To()
map
Values()
map
Values
To()
max()
max
By()
max
By
Or
Null()
max
Of()
max
Of
Or
Null()
max
Of
With()
max
Of
With
Or
Null()
max
Or
Null()
max
With()
max
With
Or
Null()
min()
min
By()
min
By
Or
Null()
min
Of()
min
Of
Or
Null()
min
Of
With()
min
Of
With
Or
Null()
min
Or
Null()
minus()
minus
Assign()
minus
Element()
min
With()
min
With
Or
Null()
Mutable
Collection
Mutable
Iterable
Mutable
Iterator
Mutable
List
Mutable
List()
Mutable
List
Iterator
mutable
List
Of()
Mutable
Map
Mutable
Entry
mutable
Map
Of()
Mutable
Set
mutable
Set
Of()
none()
on
Each()
on
Each
Indexed()
or
Empty()
partition()
plus()
plus
Assign()
plus
Element()
put
All()
random()
Random
Access
random
Or
Null()
reduce()
reduce
Indexed()
reduce
Indexed
Or
Null()
reduce
Or
Null()
reduce
Right()
reduce
Right
Indexed()
reduce
Right
Indexed
Or
Null()
reduce
Right
Or
Null()
reduce
To()
remove()
remove
All()
remove
First()
remove
First
Or
Null()
remove
Last()
remove
Last
Or
Null()
replace
All()
require
No
Nulls()
retain
All()
reverse()
reversed()
reversed
Array()
running
Fold()
running
Fold
Indexed()
running
Reduce()
running
Reduce
Indexed()
scan()
scan
Indexed()
Set
set()
set
Of()
set
Of
Not
Null()
set
Value()
Short
Iterator
shuffle()
shuffled()
single()
single
Or
Null()
slice()
slice
Array()
sort()
sort
By()
sort
By
Descending()
sort
Descending()
sorted()
sorted
Array()
sorted
Array
Descending()
sorted
Array
With()
sorted
By()
sorted
By
Descending()
sorted
Descending()
sorted
Map
Of()
sorted
Set
Of()
sorted
With()
sort
With()
string
Map
Of()
string
Set
Of()
subtract()
sum()
sum
By()
sum
By
Double()
sum
Of()
take()
take
Last()
take
Last
While()
take
While()
to
Boolean
Array()
to
Byte
Array()
to
Char
Array()
to
Collection()
to
Double
Array()
to
Float
Array()
to
Hash
Set()
to
Int
Array()
to
List()
to
Long
Array()
to
Map()
to
Mutable
List()
to
Mutable
Map()
to
Mutable
Set()
to
Pair()
to
Properties()
to
Set()
to
Short
Array()
to
Sorted
Map()
to
Sorted
Set()
to
String()
to
Typed
Array()
to
UByte
Array()
to
UInt
Array()
to
ULong
Array()
to
UShort
Array()
union()
unzip()
windowed()
with
Default()
with
Index()
zip()
zip
With
Next()
kotlin.
comparisons
compare
By()
compare
By
Descending()
compare
Values()
compare
Values
By()
max
Of()
min
Of()
natural
Order()
nulls
First()
nulls
Last()
reversed()
reverse
Order()
then()
then
By()
then
By
Descending()
then
Comparator()
then
Descending()
kotlin.
concurrent
Atomic
Array
Atomic
Array()
Atomic
Int
Atomic
Int
Array
Atomic
Int
Array()
Atomic
Long
Atomic
Long
Array
Atomic
Long
Array()
Atomic
Native
Ptr
Atomic
Reference
fixed
Rate
Timer()
get
Or
Set()
read()
schedule()
schedule
At
Fixed
Rate()
thread()
timer()
timer
Task()
Volatile
with
Lock()
write()
kotlin.
concurrent.
atomics
as
Java
Atomic()
as
Java
Atomic
Array()
as
Kotlin
Atomic()
as
Kotlin
Atomic
Array()
Atomic
Array
Atomic
Array()
Atomic
Boolean
Atomic
Int
Atomic
Int
Array
Atomic
Int
Array()
Atomic
Long
Atomic
Long
Array
Atomic
Long
Array()
Atomic
Native
Ptr
Atomic
Reference
decrement
And
Fetch()
decrement
And
Fetch
At()
Experimental
Atomic
Api
fetch
And
Decrement()
fetch
And
Decrement
At()
fetch
And
Increment()
fetch
And
Increment
At()
increment
And
Fetch()
increment
And
Fetch
At()
minus
Assign()
plus
Assign()
kotlin.
contracts
Calls
In
Place
Conditional
Effect
contract()
Contract
Builder
Effect
Experimental
Contracts
Invocation
Kind
AT_
MOST_
ONCE
AT_
LEAST_
ONCE
EXACTLY_
ONCE
UNKNOWN
Returns
Returns
Not
Null
Simple
Effect
kotlin.
coroutines
Abstract
Coroutine
Context
Element
Abstract
Coroutine
Context
Key
Continuation
Continuation()
Continuation
Interceptor
Key
Coroutine
Context
Element
Key
coroutine
Context
create
Coroutine()
Empty
Coroutine
Context
get
Polymorphic
Element()
minus
Polymorphic
Key()
Restricts
Suspension
resume()
resume
With
Exception()
start
Coroutine()
suspend
Coroutine()
Suspend
Function
kotlin.
coroutines.
cancellation
Cancellation
Exception
Cancellation
Exception()
kotlin.
coroutines.
intrinsics
COROUTINE_
SUSPENDED
create
Coroutine
Unintercepted()
intercepted()
start
Coroutine
Unintercepted
Or
Return()
suspend
Coroutine
Unintercepted
Or
Return()
kotlin.
enums
Enum
Entries
enum
Entries()
kotlin.
experimental
and()
Experimental
Native
Api
Experimental
Obj
CName
Experimental
Obj
CRefinement
Experimental
Type
Inference
inv()
or()
xor()
kotlin.
io
Access
Denied
Exception
append
Bytes()
append
Text()
buffered()
buffered
Reader()
buffered
Writer()
byte
Input
Stream()
copy
Recursively()
copy
To()
create
Temp
Dir()
create
Temp
File()
DEFAULT_
BUFFER_
SIZE
delete
Recursively()
ends
With()
extension
File
Already
Exists
Exception
File
System
Exception
File
Tree
Walk
File
Walk
Direction
TOP_
DOWN
BOTTOM_
UP
for
Each
Block()
for
Each
Line()
input
Stream()
invariant
Separators
Path
is
Rooted
iterator()
line
Sequence()
name
Without
Extension
normalize()
No
Such
File
Exception
On
Error
Action
SKIP
TERMINATE
output
Stream()
print()
println()
print
Writer()
read
Bytes()
reader()
read
Line()
read
Lines()
readln()
readln
Or
Null()
read
Text()
relative
To()
relative
To
Or
Null()
relative
To
Or
Self()
resolve()
resolve
Sibling()
starts
With()
to
Relative
String()
use()
use
Lines()
walk()
walk
Bottom
Up()
walk
Top
Down()
write
Bytes()
writer()
write
Text()
kotlin.
io.
encoding
Base64
Default
Padding
Option
PRESENT
ABSENT
PRESENT_
OPTIONAL
ABSENT_
OPTIONAL
decoding
With()
encoding
With()
Experimental
Encoding
Api
kotlin.
io.
path
absolute()
absolute
Path
String()
append
Bytes()
append
Lines()
append
Text()
buffered
Reader()
buffered
Writer()
Copy
Action
Context
Copy
Action
Result
CONTINUE
SKIP_
SUBTREE
TERMINATE
copy
To()
copy
To
Recursively()
create
Directories()
create
Directory()
create
File()
create
Link
Pointing
To()
create
Parent
Directories()
create
Symbolic
Link
Pointing
To()
create
Temp
Directory()
create
Temp
File()
delete
Existing()
delete
If
Exists()
delete
Recursively()
div()
exists()
Experimental
Path
Api
extension
file
Attributes
View()
file
Attributes
View
Or
Null()
file
Size()
file
Store()
file
Visitor()
File
Visitor
Builder
for
Each
Directory
Entry()
for
Each
Line()
get
Attribute()
get
Last
Modified
Time()
get
Owner()
get
Posix
File
Permissions()
input
Stream()
invariant
Separators
Path
invariant
Separators
Path
String
is
Directory()
is
Executable()
is
Hidden()
is
Readable()
is
Regular
File()
is
Same
File
As()
is
Symbolic
Link()
is
Writable()
list
Directory
Entries()
move
To()
name
name
Without
Extension
not
Exists()
On
Error
Result
SKIP_
SUBTREE
TERMINATE
output
Stream()
Path()
path
String
Path
Walk
Option
INCLUDE_
DIRECTORIES
BREADTH_
FIRST
FOLLOW_
LINKS
read
Attributes()
read
Bytes()
reader()
read
Lines()
read
Symbolic
Link()
read
Text()
relative
To()
relative
To
Or
Null()
relative
To
Or
Self()
set
Attribute()
set
Last
Modified
Time()
set
Owner()
set
Posix
File
Permissions()
to
Path()
use
Directory
Entries()
use
Lines()
visit
File
Tree()
walk()
write
Bytes()
write
Lines()
writer()
write
Text()
kotlin.
js
add()
as
Array()
as
Dynamic()
Console
console
Date
Companion
Locale
Options
date
Locale
Options()
defined
Externally
Dynamic
Eager
Initialization
eval()
Experimental
Js
Collections
Api
Experimental
Js
Export
Experimental
Js
File
Name
Experimental
Js
Reflection
Create
Instance
Experimental
Js
Static
get()
iterator()
js
Js
Any
Js
Array
Js
Big
Int
Js
Boolean
Js
Class
Js
Exception
Js
Export
Ignore
Js
External
Argument
Js
External
Inheritors
Only
Js
File
Name
Js
Module
Js
Name
Js
Non
Module
Js
Number
JSON
Json
json()
Js
Qualifier
Js
Reference
Js
Static
Js
String
js
Type
Of()
kotlin
native
Getter
native
Invoke
native
Setter
parse
Float()
parse
Int()
Promise
Companion
Reg
Exp
Reg
Exp
Match
reset()
set()
then()
to
Array()
to
Boolean()
to
Double()
to
Int()
to
Js
Array()
to
Js
Big
Int()
to
Js
Boolean()
to
Js
Number()
to
Js
Reference()
to
Js
String()
to
List()
to
Long()
to
Throwable
Or
Null()
undefined
unsafe
Cast()
kotlin.
js.
collections
Js
Array
Js
Map
Js
Readonly
Array
Js
Readonly
Map
Js
Readonly
Set
Js
Set
to
List()
to
Map()
to
Mutable
List()
to
Mutable
Map()
to
Mutable
Set()
to
Set()
kotlin.
jvm
annotation
Class
declaring
Java
Class
Implicitly
Actualized
By
Jvm
Declaration
is
Array
Of()
java
java
Class
java
Object
Type
java
Primitive
Type
Jvm
Default
With
Compatibility
Jvm
Default
Without
Compatibility
Jvm
Field
Jvm
Inline
Jvm
Multifile
Class
Jvm
Name
Jvm
Overloads
Jvm
Record
Jvm
Repeatable
Jvm
Serializable
Lambda
Jvm
Static
Jvm
Suppress
Wildcards
Jvm
Synthetic
Jvm
Wildcard
kotlin
Purely
Implements
Strictfp
Synchronized
Throws
Transient
Volatile
kotlin.
jvm.
optionals
as
Sequence()
get
Or
Default()
get
Or
Else()
get
Or
Null()
to
Collection()
to
List()
to
Set()
kotlin.
math
abs()
absolute
Value
acos()
acosh()
asin()
asinh()
atan()
atan2()
atanh()
cbrt()
ceil()
cos()
cosh()
E
exp()
expm1()
floor()
hypot()
IEEErem()
ln()
ln1p()
log()
log10()
log2()
max()
min()
next
Down()
next
Towards()
next
Up()
PI
pow()
round()
round
To
Int()
round
To
Long()
sign
sin()
sinh()
sqrt()
tan()
tanh()
truncate()
ulp
with
Sign()
kotlin.
native
as
CPointer()
as
UCPointer()
Bit
Set
Companion
CName
Cpu
Architecture
UNKNOWN
ARM32
ARM64
X86
X64
MIPS32
MIPSEL32
WASM32
Eager
Initialization
Freezing
Is
Deprecated
get
Char
At()
get
Double
At()
get
Float
At()
get
Int
At()
get
Long
At()
get
Short
At()
get
Stack
Trace
Addresses()
get
UByte
At()
get
UInt
At()
get
ULong
At()
get
Unhandled
Exception
Hook()
get
UShort
At()
Hidden
From
Obj
C
Hides
From
Obj
C
identity
Hash
Code()
Immutable
Blob
immutable
Blob
Of()
Incorrect
Dereference
Exception
init
Runtime
If
Needed()
is
Experimental
MM()
Memory
Model
STRICT
RELAXED
EXPERIMENTAL
No
Inline
Obj
CName
Obsolete
Native
Api
Os
Family
UNKNOWN
MACOSX
IOS
LINUX
WINDOWS
ANDROID
WASM
TVOS
WATCHOS
Platform
process
Unhandled
Exception()
Refines
In
Swift
Report
Unhandled
Exception
Hook
set
Char
At()
set
Double
At()
set
Float
At()
set
Int
At()
set
Long
At()
set
Short
At()
set
UByte
At()
set
UInt
At()
set
ULong
At()
set
Unhandled
Exception
Hook()
set
UShort
At()
Should
Refine
In
Swift
Symbol
Name
terminate
With
Unhandled
Exception()
to
Byte
Array()
to
UByte
Array()
Vector128
vector
Of()
kotlin.
native.
concurrent
Atomic
Int
atomic
Lazy()
Atomic
Long
Atomic
Native
Ptr
Atomic
Reference
attach()
call
Continuation0()
call
Continuation1()
call
Continuation2()
Continuation0
Continuation1
Continuation2
Detached
Object
Graph
ensure
Never
Frozen()
Freezable
Atomic
Reference
freeze()
Freezing
Exception
Future
Future
State
INVALID
SCHEDULED
COMPUTED
CANCELLED
THROWN
Invalid
Mutability
Exception
is
Frozen
Mutable
Data
Obsolete
Workers
Api
Shared
Immutable
Thread
Local
Transfer
Mode
SAFE
UNSAFE
wait
For
Multiple
Futures()
wait
Worker
Termination()
with
Worker()
Worker
Companion
Worker
Bound
Reference
kotlin.
native.
ref
Cleaner
create
Cleaner()
Weak
Reference
kotlin.
native.
runtime
Debugging
GC
Main
Thread
Finalizer
Processor
GCInfo
Memory
Usage
Native
Runtime
Api
Root
Set
Statistics
Sweep
Statistics
kotlin.
properties
Delegates
Observable
Property
Property
Delegate
Provider
Read
Only
Property
Read
Write
Property
kotlin.
random
as
Java
Random()
as
Kotlin
Random()
next
Int()
next
Long()
next
UBytes()
next
UInt()
next
ULong()
Random
Default
Random()
kotlin.
ranges
Char
Progression
Companion
Char
Range
Companion
Closed
Floating
Point
Range
Closed
Range
coerce
At
Least()
coerce
At
Most()
coerce
In()
contains()
down
To()
first()
first
Or
Null()
Int
Progression
Companion
Int
Range
Companion
last()
last
Or
Null()
Long
Progression
Companion
Long
Range
Companion
Open
End
Range
random()
random
Or
Null()
range
To()
range
Until()
reversed()
step()
UInt
Progression
Companion
UInt
Range
Companion
ULong
Progression
Companion
ULong
Range
Companion
until()
kotlin.
reflect
Associated
Object
Key
cast()
create
Instance()
Experimental
Associated
Objects
find
Associated
Object()
java
Type
KAnnotated
Element
KCallable
KClass
KClassifier
KDeclaration
Container
KFunction
KMutable
Property
Setter
KMutable
Property0
Setter
KMutable
Property1
Setter
KMutable
Property2
Setter
KParameter
Kind
INSTANCE
EXTENSION_
RECEIVER
VALUE
KProperty
Accessor
Getter
KProperty0
Getter
KProperty1
Getter
KProperty2
Getter
KType
KType
Parameter
KType
Projection
Companion
KVariance
INVARIANT
IN
OUT
KVisibility
PUBLIC
PROTECTED
INTERNAL
PRIVATE
safe
Cast()
type
Of()
kotlin.
sequences
all()
any()
as
Iterable()
as
Sequence()
associate()
associate
By()
associate
By
To()
associate
To()
associate
With()
associate
With
To()
average()
chunked()
constrain
Once()
contains()
count()
distinct()
distinct
By()
drop()
drop
While()
element
At()
element
At
Or
Else()
element
At
Or
Null()
empty
Sequence()
filter()
filter
Indexed()
filter
Indexed
To()
filter
Is
Instance()
filter
Is
Instance
To()
filter
Not()
filter
Not
Null()
filter
Not
Null
To()
filter
Not
To()
filter
To()
find()
find
Last()
first()
first
Not
Null
Of()
first
Not
Null
Of
Or
Null()
first
Or
Null()
flat
Map()
flat
Map
Indexed()
flat
Map
Indexed
To()
flat
Map
To()
flatten()
fold()
fold
Indexed()
for
Each()
for
Each
Indexed()
generate
Sequence()
group
By()
group
By
To()
grouping
By()
if
Empty()
index
Of()
index
Of
First()
index
Of
Last()
iterator()
join
To()
join
To
String()
last()
last
Index
Of()
last
Or
Null()
map()
map
Indexed()
map
Indexed
Not
Null()
map
Indexed
Not
Null
To()
map
Indexed
To()
map
Not
Null()
map
Not
Null
To()
map
To()
max()
max
By()
max
By
Or
Null()
max
Of()
max
Of
Or
Null()
max
Of
With()
max
Of
With
Or
Null()
max
Or
Null()
max
With()
max
With
Or
Null()
min()
min
By()
min
By
Or
Null()
min
Of()
min
Of
Or
Null()
min
Of
With()
min
Of
With
Or
Null()
min
Or
Null()
minus()
minus
Element()
min
With()
min
With
Or
Null()
none()
on
Each()
on
Each
Indexed()
or
Empty()
partition()
plus()
plus
Element()
reduce()
reduce
Indexed()
reduce
Indexed
Or
Null()
reduce
Or
Null()
require
No
Nulls()
running
Fold()
running
Fold
Indexed()
running
Reduce()
running
Reduce
Indexed()
scan()
scan
Indexed()
Sequence
Sequence()
sequence()
sequence
Of()
Sequence
Scope
shuffled()
single()
single
Or
Null()
sorted()
sorted
By()
sorted
By
Descending()
sorted
Descending()
sorted
With()
sum()
sum
By()
sum
By
Double()
sum
Of()
take()
take
While()
to
Collection()
to
Hash
Set()
to
List()
to
Mutable
List()
to
Mutable
Set()
to
Set()
to
Sorted
Set()
unzip()
windowed()
with
Index()
zip()
zip
With
Next()
kotlin.
streams
as
Sequence()
as
Stream()
to
List()
kotlin.
system
exit
Process()
get
Time
Micros()
get
Time
Millis()
get
Time
Nanos()
measure
Nano
Time()
measure
Time
Micros()
measure
Time
Millis()
kotlin.
text
all()
any()
append()
Appendable
append
Line()
appendln()
append
Range()
as
Iterable()
as
Sequence()
associate()
associate
By()
associate
By
To()
associate
To()
associate
With()
associate
With
To()
build
String()
capitalize()
CASE_
INSENSITIVE_
ORDER
category
Character
Coding
Exception
Char
Category
Companion
UNASSIGNED
UPPERCASE_
LETTER
LOWERCASE_
LETTER
TITLECASE_
LETTER
MODIFIER_
LETTER
OTHER_
LETTER
NON_
SPACING_
MARK
ENCLOSING_
MARK
COMBINING_
SPACING_
MARK
DECIMAL_
DIGIT_
NUMBER
LETTER_
NUMBER
OTHER_
NUMBER
SPACE_
SEPARATOR
LINE_
SEPARATOR
PARAGRAPH_
SEPARATOR
CONTROL
FORMAT
PRIVATE_
USE
SURROGATE
DASH_
PUNCTUATION
START_
PUNCTUATION
END_
PUNCTUATION
CONNECTOR_
PUNCTUATION
OTHER_
PUNCTUATION
MATH_
SYMBOL
CURRENCY_
SYMBOL
MODIFIER_
SYMBOL
OTHER_
SYMBOL
INITIAL_
QUOTE_
PUNCTUATION
FINAL_
QUOTE_
PUNCTUATION
Char
Directionality
Companion
UNDEFINED
LEFT_
TO_
RIGHT
RIGHT_
TO_
LEFT
RIGHT_
TO_
LEFT_
ARABIC
EUROPEAN_
NUMBER
EUROPEAN_
NUMBER_
SEPARATOR
EUROPEAN_
NUMBER_
TERMINATOR
ARABIC_
NUMBER
COMMON_
NUMBER_
SEPARATOR
NONSPACING_
MARK
BOUNDARY_
NEUTRAL
PARAGRAPH_
SEPARATOR
SEGMENT_
SEPARATOR
WHITESPACE
OTHER_
NEUTRALS
LEFT_
TO_
RIGHT_
EMBEDDING
LEFT_
TO_
RIGHT_
OVERRIDE
RIGHT_
TO_
LEFT_
EMBEDDING
RIGHT_
TO_
LEFT_
OVERRIDE
POP_
DIRECTIONAL_
FORMAT
charset()
Charsets
chunked()
chunked
Sequence()
clear()
code
Point
At()
code
Point
Before()
code
Point
Count()
common
Prefix
With()
common
Suffix
With()
compare
To()
concat()
concat
To
String()
contains()
content
Equals()
count()
decapitalize()
decode
To
String()
delete
At()
delete
Char
At()
delete
Range()
digit
To
Char()
digit
To
Int()
digit
To
Int
Or
Null()
directionality
drop()
drop
Last()
drop
Last
While()
drop
While()
element
At()
element
At
Or
Else()
element
At
Or
Null()
encode
To
Byte
Array()
ends
With()
equals()
filter()
filter
Indexed()
filter
Indexed
To()
filter
Not()
filter
Not
To()
filter
To()
find()
find
Any
Of()
find
Last()
find
Last
Any
Of()
first()
first
Not
Null
Of()
first
Not
Null
Of
Or
Null()
first
Or
Null()
flat
Map()
flat
Map
Indexed()
flat
Map
Indexed
To()
flat
Map
To()
fold()
fold
Indexed()
fold
Right()
fold
Right
Indexed()
for
Each()
for
Each
Indexed()
format()
get()
get
Or
Else()
get
Or
Null()
group
By()
group
By
To()
grouping
By()
has
Surrogate
Pair
At()
Hex
Format
Builder
Bytes
Hex
Format
Builder
Companion
Number
Hex
Format
Builder
Hex
Format()
hex
To
Byte()
hex
To
Byte
Array()
hex
To
Int()
hex
To
Long()
hex
To
Short()
hex
To
UByte()
hex
To
UByte
Array()
hex
To
UInt()
hex
To
ULong()
hex
To
UShort()
if
Blank()
if
Empty()
index
Of()
index
Of
Any()
index
Of
First()
index
Of
Last()
indices
insert()
insert
Range()
intern()
is
Blank()
is
Defined()
is
Digit()
is
Empty()
is
High
Surrogate()
is
Identifier
Ignorable()
is
ISOControl()
is
Java
Identifier
Part()
is
Java
Identifier
Start()
is
Letter()
is
Letter
Or
Digit()
is
Lower
Case()
is
Low
Surrogate()
is
Not
Blank()
is
Not
Empty()
is
Null
Or
Blank()
is
Null
Or
Empty()
is
Supplementary
Code
Point()
is
Surrogate()
is
Surrogate
Pair()
is
Title
Case()
is
Upper
Case()
is
Whitespace()
iterator()
last()
last
Index
last
Index
Of()
last
Index
Of
Any()
last
Or
Null()
lines()
line
Sequence()
lowercase()
lowercase
Char()
map()
map
Indexed()
map
Indexed
Not
Null()
map
Indexed
Not
Null
To()
map
Indexed
To()
map
Not
Null()
map
Not
Null
To()
map
To()
match()
matches()
Match
Group
Match
Group
Collection
Match
Named
Group
Collection
Match
Result
Destructured
max()
max
By()
max
By
Or
Null()
max
Of()
max
Of
Or
Null()
max
Of
With()
max
Of
With
Or
Null()
max
Or
Null()
max
With()
max
With
Or
Null()
min()
min
By()
min
By
Or
Null()
min
Of()
min
Of
Or
Null()
min
Of
With()
min
Of
With
Or
Null()
min
Or
Null()
min
With()
min
With
Or
Null()
none()
offset
By
Code
Points()
on
Each()
on
Each
Indexed()
or
Empty()
pad
End()
pad
Start()
partition()
plus()
prepend
Indent()
random()
random
Or
Null()
reduce()
reduce
Indexed()
reduce
Indexed
Or
Null()
reduce
Or
Null()
reduce
Right()
reduce
Right
Indexed()
reduce
Right
Indexed
Or
Null()
reduce
Right
Or
Null()
Regex
Companion
Regex
Option
IGNORE_
CASE
MULTILINE
LITERAL
UNIX_
LINES
COMMENTS
DOT_
MATCHES_
ALL
CANON_
EQ
region
Matches()
remove
Prefix()
remove
Range()
remove
Suffix()
remove
Surrounding()
repeat()
replace()
replace
After()
replace
After
Last()
replace
Before()
replace
Before
Last()
replace
First()
replace
First
Char()
replace
Indent()
replace
Indent
By
Margin()
replace
Range()
reversed()
running
Fold()
running
Fold
Indexed()
running
Reduce()
running
Reduce
Indexed()
scan()
scan
Indexed()
set()
set
Char
At()
set
Range()
single()
single
Or
Null()
slice()
split()
split
To
Sequence()
starts
With()
String()
String
Builder
sub
Sequence()
substring()
substring
After()
substring
After
Last()
substring
Before()
substring
Before
Last()
sum
By()
sum
By
Double()
sum
Of()
take()
take
Last()
take
Last
While()
take
While()
titlecase()
titlecase
Char()
to
Big
Decimal()
to
Big
Decimal
Or
Null()
to
Big
Integer()
to
Big
Integer
Or
Null()
to
Boolean()
to
Boolean
Strict()
to
Boolean
Strict
Or
Null()
to
Byte()
to
Byte
Array()
to
Byte
Or
Null()
to
Char
Array()
to
Chars()
to
Code
Point()
to
Collection()
to
Double()
to
Double
Or
Null()
to
Float()
to
Float
Or
Null()
to
Hash
Set()
to
Hex
String()
to
Int()
to
Int
Or
Null()
to
List()
to
Long()
to
Long
Or
Null()
to
Lower
Case()
to
Mutable
List()
to
Pattern()
to
Regex()
to
Set()
to
Short()
to
Short
Or
Null()
to
Sorted
Set()
to
String()
to
Title
Case()
to
UByte()
to
UByte
Or
Null()
to
UInt()
to
UInt
Or
Null()
to
ULong()
to
ULong
Or
Null()
to
Upper
Case()
to
UShort()
to
UShort
Or
Null()
trim()
trim
End()
trim
Indent()
trim
Margin()
trim
Start()
Typography
uppercase()
uppercase
Char()
windowed()
windowed
Sequence()
with
Index()
zip()
zip
With
Next()
kotlin.
time
Abstract
Double
Time
Source
Abstract
Long
Time
Source
Clock
Companion
System
Comparable
Time
Mark
Duration
Companion
Duration
Unit
NANOSECONDS
MICROSECONDS
MILLISECONDS
SECONDS
MINUTES
HOURS
DAYS
Experimental
Time
Instant
Companion
is
Distant
Future
is
Distant
Past
measure
Time()
measure
Timed
Value()
Test
Time
Source
Timed
Value
Time
Mark
times()
Time
Source
Companion
Monotonic
Value
Time
Mark
With
Comparable
Marks
to
Duration()
to
Duration
Unit()
to
Java
Duration()
to
Java
Instant()
to
JSDate()
to
Kotlin
Duration()
to
Kotlin
Instant()
to
Time
Unit()
kotlin.
uuid
Experimental
Uuid
Api
get
Uuid()
put
Uuid()
to
Java
Uuid()
to
Kotlin
Uuid()
Uuid
Companion
kotlin.
wasm
Wasm
Export
Wasm
Import
kotlin.
wasm.
unsafe
Memory
Allocator
Pointer
Unsafe
Wasm
Memory
Api
with
Scoped
Memory
Allocator()
kotlinx.
cinterop
address
Of()
align
Of()
alloc()
alloc
Array()
alloc
Array
Of()
alloc
Array
Of
Pointers
To()
alloc
Pointer
To()
Arena
Arena
Base
array
Member
At()
as
Stable
Ref()
Autofree
Scope
autoreleasepool()
Beta
Interop
Api
bits
To
Double()
bits
To
Float()
Boolean
Var
Boolean
Var
Of
Companion
Byte
Var
Byte
Var
Of
Companion
CArray
Pointer
CArray
Pointer
Var
CEnum
CEnum
Var
CFunction
convert()
COpaque
COpaque
Pointer
COpaque
Pointer
Var
copy()
CPointed
CPointer
CPointer
Var
CPointer
Var
Of
Companion
CPrimitive
Var
Type
create
Kotlin
Object
Holder()
Create
KString
From
NSString()
Create
NSString
From
KString()
create
Values()
cstr
CStruct
Var
Type
CValue
c
Value()
CValues
c
Values
Of()
CValues
Ref
CVariable
Type
Defer
Scope
Double
Var
Double
Var
Of
Companion
Experimental
Foreign
Api
Export
Obj
CClass
External
Obj
CClass
Float
Var
Float
Var
Of
Companion
Foreign
Exception
free()
get()
get
Bytes()
get
Original
Kotlin
Class()
get
Raw
Pointer()
get
Raw
Value()
init
By()
Interop
Stubs
interpret
CPointer()
interpret
Nullable
Opaque
Pointed()
interpret
Nullable
Pointed()
interpret
Obj
CPointer()
interpret
Obj
CPointer
Or
Null()
interpret
Opaque
Pointed()
interpret
Pointed()
Int
Var
Int
Var
Of
Companion
invoke()
Long
Var
Long
Var
Of
Companion
member
At()
Mem
Scope
mem
Scoped()
narrow()
Native
Freeable
Placement
native
Heap
native
Null
Ptr
Native
Placement
Native
Pointed
Native
Ptr
objc_
autorelease
Pool
Pop()
objc_
autorelease
Pool
Push()
objc_
release()
objc_
retain()
objc_
retain
Autorelease
Return
Value()
Obj
CAction
Obj
CBlock
Var
Obj
CClass
Obj
CClass
Of
Obj
CConstructor
Obj
CDirect
Obj
CFactory
Obj
CMethod
Obj
CNot
Implemented
Var
Companion
Obj
CObject
Obj
CObject
Base
Override
Init
Obj
CObject
Base
Meta
Obj
CObject
Meta
Obj
CObject
Var
Companion
Obj
COutlet
Obj
CProtocol
objc
Ptr()
Obj
CSignature
Override
Obj
CString
Var
Of
optional()
pin()
Pinned
place
To()
plus()
pointed
ptr
raw
Ptr
raw
Value
read
Bits()
read
Bytes()
read
Value()
read
Values()
ref
To()
reinterpret()
set()
Short
Var
Short
Var
Of
Companion
sign
Extend()
size
Of()
Stable
Ref
Companion
static
CFunction()
to
Boolean()
to
Byte()
to
CPointer()
to
CString
Array()
to
CValues()
to
KString()
to
KString
From
Utf16()
to
KString
From
Utf32()
to
KString
From
Utf8()
to
Long()
type
Of()
UByte
Var
UByte
Var
Of
Companion
UInt
Var
UInt
Var
Of
Companion
ULong
Var
ULong
Var
Of
Companion
Unsafe
Number
unwrap
Kotlin
Object
Holder()
use
Contents()
use
Pinned()
UShort
Var
UShort
Var
Of
Companion
utf16
utf32
utf8
value
Vector128
Vector128Var
Vector128Var
Of
Companion
vector
Of()
wcstr
write()
write
Bits()
zero
Value()
kotlinx.
cinterop.
internal
CCall
Consumed
Consumes
Receiver
CString
Returns
Retained
WCString
CEnum
Entry
Alias
CEnum
Var
Type
Size
Constant
Value
Byte
Double
Float
Int
Long
Short
String
UByte
UInt
ULong
UShort
CStruct
Array
Member
At
Bit
Field
Member
At
Var
Type
detach
Obj
CObject()
kotlinx.
wasm.
jsinterop
allocate
Arena()
Arena
Arena
Manager
double
Lower()
double
Upper()
free
Arena()
get
Int()
Js
Array
Js
Value
Konan_
js_
get
Property()
Kt
Function
Object
Pointer
push
Int
To
Arena()
ReturnSlot_
get
Double()
run
Lambda()
set
Function()
set
String()
setter()
string
Length
Bytes()
string
Pointer()
upper
Word
wrap
Function()
org.
w3c.
dom
as
List()
Item
Array
Like
All
Types
kotlin-test
kotlin.
test
After
Class
After
Test
assert
Contains()
assert
Content
Equals()
assert
Equals()
Asserter
asserter
Asserter
Contributor
assert
Fails()
assert
Fails
With()
assert
False()
Assertion
Result
assert
Is()
assert
Is
Not()
assert
Not
Equals()
assert
Not
Null()
assert
Not
Same()
assert
Null()
assert
Same()
assert
True()
Before
Class
Before
Test
current
Stack
Trace()
Default
Asserter
expect()
fail()
Framework
Adapter
Ignore
Kotlin
Test
Namespace
kotlin
Test
Namespace
Test
todo()
kotlin.
test.
junit
JUnit
Asserter
JUnit
Contributor
kotlin.
test.
junit5
JUnit5Asserter
JUnit5Contributor
kotlin.
test.
testng
Test
NGAsserter
Test
NGContributor
All
Types
kotlin-stdlib
/
kotlin.text
/
forEach
for
Each
inline
fun
CharSequence
.
forEach
(
action
:
(
Char
)
->
Unit
)
(
source
)
Performs the given
action
on each character.
Since Kotlin
1.0
Thanks for your feedback!
Was this page helpful?
Yes
No
How can we improve?
Enter your name and email address if you would like to receive a follow-up message or
contact our support
.
By submitting this form, I agree that JetBrains s.r.o. ("JetBrains") may use my name, email address, phone number, and country of residence to provide support. I agree that JetBrains may process said data using
third-party services
for this purpose in accordance with the
JetBrains Privacy Policy
.