Skip to main content

$if

Callable

  • $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>

Index

Properties

Properties

operator

operator: string = 'if'

symbol

symbol: string = '$if'