Skip to content

Commit

Permalink
Update Language-Definition.md
Browse files Browse the repository at this point in the history
  • Loading branch information
antonmedv committed Feb 26, 2020
1 parent 0271673 commit 3e7d20e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/Language-Definition.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ syntaxes.
The package supports:

* **strings** - single and double quotes (e.g. `"hello"`, `'hello'`)
* **numbers** - e.g. `103`, `2.5`
* **numbers** - e.g. `103`, `2.5`, `.5'
* **arrays** - e.g. `[1, 2, 3]`
* **maps** - e.g. `{foo: "bar"}`
* **booleans** - `true` and `false`
Expand Down Expand Up @@ -155,6 +155,7 @@ user.Age > 30 ? "mature" : "immature"
* `one` (will return `true` if exactly ONE element satisfies the predicate)
* `filter` (filter array by the predicate)
* `map` (map all items with the closure)
* `count` (returns number of elements what satisfies the predicate)

Example:

Expand Down

0 comments on commit 3e7d20e

Please sign in to comment.