issubset

..  issubset(A, S) -> Bool
             ⊆(A,S) -> Bool

Return ``true`` if ``A`` is a subset of or equal to ``S``.

Examples

julia> foo = [1:3];

julia> issubset(foo, [1:10])
true

julia> issubset(foo, [1:2])
false

julia> issubset(foo, [3:-1:1])
true

See Also

complement, complement!, intersect, intersect!, issubset, selectperm, selectperm!, Set, setdiff, setdiff!, symdiff, union, union!,

User Contributed Notes

Add a Note

The format of note supported is markdown, use triple backtick to start and end a code block.

*Required Field
Details

Checking you are not a robot: