Playground
- Result
- AST
- Bytecode
tip
Playground environment represented by a blog-like struct: Blog.
Examples
Copy-paste examples into the editor.
Get titles of all posts with year
map(Posts, {.Title + " - " + .PublishDate.Format("2006")})
Find all posts with likes more than 128
filter(Posts, {.Likes > 128})
Optional chaining
Posts[0]?.Author?.Profile?.Biography