unsafe

open fun <R> unsafe(block: T.() -> R): R(source)

Executes a synchronous block on the target without exception handling.

Return

The direct result of the block

Parameters

block

The operation to execute on the target

Type Parameters

R

The return type of the block

Throws

If the block throws an exception