WhenCondition
Namespace: Polars.FSharp
Intermediate F# state holder representing an active conditional branch awaiting its statement.
Instance Methods
Then
Connects a statement expression to the preceding condition.
Connects a scalar statement to the preceding condition using SRTP resolution.
fsharp
member Then(statement: Expr) : ThenBranch
member Then(value: 'T) : ThenBranchParameters
| Name | Type | Description |
|---|---|---|
statement | Expr | The expression to evaluate if true. |
value | 'T | - |
Returns: A ThenBranch state holder allowing further chaining, piping, or terminal fallback.
Then$W
fsharp
member Then$W(op_Dollar: (LitMechanism -> ('T -> Expr)), value: 'T) : ThenBranchParameters
| Name | Type | Description |
|---|---|---|
op_Dollar | (LitMechanism -> ('T -> Expr)) | - |
value | 'T | - |