Skip to content

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) : ThenBranch

Parameters

NameTypeDescription
statementExprThe 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) : ThenBranch

Parameters

NameTypeDescription
op_Dollar(LitMechanism -> ('T -> Expr))-
value'T-

Released under the MIT License. Powered by the Polars Rust core & Apache Arrow.