You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/intrinsic-functions.md
+6-4Lines changed: 6 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# Intrinsic Functions
2
2
3
-
SimpleSteps maps all 18 ASL intrinsic functions to TypeScript. **Write natural JavaScript** — the compiler handles the mapping. `Steps.*` methods are also available for direct access (useful in JSONPath mode or when no JS equivalent exists).
3
+
SimpleSteps maps all 18 standard ASL intrinsic functions (plus the `States.ArraySlice` AWS extension) to TypeScript. **Write natural JavaScript** — the compiler handles the mapping. `Steps.*` methods are also available for direct access (useful in JSONPath mode or when no JS equivalent exists).
4
4
5
5
## Summary
6
6
@@ -22,6 +22,7 @@ SimpleSteps maps all 18 ASL intrinsic functions to TypeScript. **Write natural J
context.addError(expr,'Array.reduce() requires an initial value in SimpleSteps. Use arr.reduce(fn, initialValue).',ErrorCodes.Expr.UncompilableExpression.code);
context.addError(prop,'Cannot mix spread and non-spread properties. Use either {...a, ...b} or {x: 1, y: 2}.',ErrorCodes.Expr.UncompilableExpression.code);
0 commit comments