Skip to main content

$map

Callable

  • $map<O, Expr>(xs: Expr, transform: (value: ValueItem<ExpressionTypeOfLiteral<Expr>>) => AsExpression<O>): ValueExpression<ExpressionTypeOfLiteral<O>[], [ExpressionReturnType<AsExpression<Expr>>], FactsFomExprs<Expr>, InferExpressionType<ExpressionTypeOfLiteral<O>>>

  • Type parameters

    • O: unknown
    • Expr: LiteralOr<any[]>

    Parameters

    • xs: Expr
    • transform: (value: ValueItem<ExpressionTypeOfLiteral<Expr>>) => AsExpression<O>

    Returns ValueExpression<ExpressionTypeOfLiteral<O>[], [ExpressionReturnType<AsExpression<Expr>>], FactsFomExprs<Expr>, InferExpressionType<ExpressionTypeOfLiteral<O>>>

Index

Properties

readonlyoperator

operator: map = 'map'

readonlyparse

parse: (xs: any, transform: any) => ValueExpression<unknown[], [any], unknown, JSONExpr> = ...

Type declaration

    • (xs: any, transform: any): ValueExpression<unknown[], [any], unknown, JSONExpr>
    • Parameters

      • xs: any
      • transform: any

      Returns ValueExpression<unknown[], [any], unknown, JSONExpr>

readonlysymbol

symbol: $map = '$map'