- $if<CE, UE, VE>(_condition: CE, _a: UE, _b: VE): ValueExpression<ExpressionTypeOfLiteral<UE> | ExpressionTypeOfLiteral<VE>, [ExpressionReturnType<AsExpression<CE>>, ExpressionReturnType<AsExpression<UE>>, ExpressionReturnType<AsExpression<VE>>], FactsFomExprs<CE | UE | VE>, IfExpr>
Type parameters
- CE: boolean | Expression<boolean, any, BooleanExpr>
- UE: unknown
- VE: unknown
Parameters
_condition: CE
_a: UE
_b: VE
Returns ValueExpression<ExpressionTypeOfLiteral<UE> | ExpressionTypeOfLiteral<VE>, [ExpressionReturnType<AsExpression<CE>>, ExpressionReturnType<AsExpression<UE>>, ExpressionReturnType<AsExpression<VE>>], FactsFomExprs<CE | UE | VE>, IfExpr>