applyIf

inline fun <T> T.applyIf(predicate: Boolean, block: T.() -> Unit): T(source)

Executes the applyIf step in the SDAI core common layer.

Return

Result produced by applyIf.

Author

Dmitriy Moroz

Parameters

predicate

predicate value consumed by the API.

block

block value consumed by the API.