with<V, U, R, X>(toBeReplaced: ((V, U) -> R) -> X, replacer: (V, U) -> R): X
Helper function that specifies a replacement element. This function is used with replace, update or mask to perform data substitutions.
Parameters
| Name | Description |
|---|---|
|
The value to be replaced. |
|
The replacement value for the input value. |