Skip to content

Commit

Permalink
Update README.md (#1098)
Browse files Browse the repository at this point in the history
A couple of typos.
  • Loading branch information
dbuduev authored Jan 7, 2025
1 parent 98789f3 commit 7c5909e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ext/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ in expressions.
### Cel.Bind

Binds a simple identifier to an initialization expression which may be used
in a subsequenct result expression. Bindings may also be nested within each
in a subsequent result expression. Bindings may also be nested within each
other.

cel.bind(<varName>, <initExpr>, <resultExpr>)
Expand All @@ -29,7 +29,7 @@ Local bindings are not guaranteed to be evaluated before use.

## Encoders

Encoding utilies for marshalling data into standardized representations.
Encoding utilities for marshalling data into standardized representations.

### Base64.Decode

Expand Down Expand Up @@ -507,11 +507,11 @@ Examples:
Returns an optional with the last value from the list or `optional.None` if the
list is empty.

<list(T)>.list() -> <Optional(T)>
<list(T)>.last() -> <Optional(T)>

Examples:

[1, 2, 3].list().value() == 3
[1, 2, 3].last().value() == 3
[].last().orValue('test') == 'test'

This is syntactic sugar for list[list.size()-1].
Expand Down

0 comments on commit 7c5909e

Please sign in to comment.