File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -1382,11 +1382,15 @@ a function equivalent to `y -> item in y`.
1382
1382
1383
1383
Determine whether an item is in the given collection, in the sense that it is
1384
1384
[`==`](@ref) to one of the values generated by iterating over the collection.
1385
+ Can equivalently be used with infix syntax:
1386
+
1387
+ item in collection
1388
+ item ∈ collection
1389
+
1385
1390
Return a `Bool` value, except if `item` is [`missing`](@ref) or `collection`
1386
1391
contains `missing` but not `item`, in which case `missing` is returned
1387
1392
([three-valued logic](https://en.wikipedia.org/wiki/Three-valued_logic),
1388
1393
matching the behavior of [`any`](@ref) and [`==`](@ref)).
1389
-
1390
1394
Some collections follow a slightly different definition. For example,
1391
1395
[`Set`](@ref)s check whether the item [`isequal`](@ref) to one of the elements;
1392
1396
[`Dict`](@ref)s look for `key=>value` pairs, and the `key` is compared using
You can’t perform that action at this time.
0 commit comments