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`.
13821382
13831383Determine whether an item is in the given collection, in the sense that it is
13841384[`==`](@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+
13851390Return a `Bool` value, except if `item` is [`missing`](@ref) or `collection`
13861391contains `missing` but not `item`, in which case `missing` is returned
13871392([three-valued logic](https://en.wikipedia.org/wiki/Three-valued_logic),
13881393matching the behavior of [`any`](@ref) and [`==`](@ref)).
1389-
13901394Some collections follow a slightly different definition. For example,
13911395[`Set`](@ref)s check whether the item [`isequal`](@ref) to one of the elements;
13921396[`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