use

inline fun <T : Any> PatchOp<T>.use(block: (T?) -> Unit)

Allows using a patch operation by passing an appropriate value to the given block function.

Parameters

block

Usage function to be called (or not) based on the patch operation.


inline fun <T : Any> UpdateOp<T>.use(block: (T) -> Unit)

Allows using a patch update operation by passing an appropriate value to the given block function.

Parameters

block

Usage function to be called (or not) based on the patch operation.