Skip to content

Commit 65580f0

Browse files
authored
Fix documentation of Map in operator (#6136)
Signed-off-by: Ben Sherman <bentshermann@gmail.com>
1 parent f062065 commit 65580f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/reference/stdlib-types.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ The following operations are supported for maps:
305305
: Given a map and a key, returns the value for the given key in the map, or `null` if the key is not in the map.
306306

307307
`in, !in : (K, Map<K,V>) -> boolean`
308-
: Given a key and a map, returns `true` if the map contains the key (or not).
308+
: Given a key and a map, returns `true` if the map contains the key and the corresponding value is *truthy* (e.g. not `null`, `0`, or `false`).
309309

310310
The following methods are available for a map:
311311

0 commit comments

Comments
 (0)