Skip to main content

when

Method
This is a method of the DictCondition class in the conditions module.
Add a route for a value.

Signature

def when(mut self, value: impl Into<String>, targets: Vec<String>) -> Self

Parameters

value
impl Into<String>
required
No description available.
targets
Vec<String>
required
No description available.

Returns

Returns
Self
The result of the operation.