If • Rust AI Agent SDK
If: Builder for creating conditions.
If
Defined in the conditions module.
Rust AI Agent SDK
Builder for creating conditions.
Methods
expr
fn expr(expression: impl Into<String>) -> ExpressionConditionCreate an expression condition.
Parameters:
| Name | Type |
|---|---|
expression | impl Into<String> |
Source
View on GitHubpraisonai/src/conditions/mod.rs at line 295