Skip to content

Commit b1d0929

Browse files
Update operators.md
1 parent 3fac8ed commit b1d0929

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

expressions/operators.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,9 @@ YASL supports the following comparison operators:
5353

5454
The ordering operators (**\<**, **\>**, **\>=**, **\<==**) are defined for strings and numbers.
5555

56-
The equality operator (**==**) compares by value. It coerces _int_s to _float_s if needed. Otherwise, no coercions are done. `undef == undef` is false.
56+
The equality operator (**==**) compares by value. It coerces _int_ s to _float_ s if needed. Otherwise, no coercions are done. `undef == undef` is false.
5757

58-
The strict equality operator compares by identity. For scalar types, it behaves the same as **==**, except it compares `undef === undef` as `true` rather than `false`, and will not coerce between numeric types. For _list_s, _table_s, _str_s, etc, it returns true iff the two objects compared are the object in memory.
58+
The strict equality operator compares by identity. For scalar types, it behaves the same as **==**, except it compares `undef === undef` as `true` rather than `false`, and will not coerce between numeric types. For _list_ s, _table_ s, _str_ s, etc, it returns true iff the two objects compared are the object in memory.
5959

6060
## Length Operator
6161
The length operator **len** is defined for _str_ (returning the length), _list_ (returning the length) and _table_ (returning the number of elements).

0 commit comments

Comments
 (0)