klyn.collections.HashSetSync.isSubsetOf
method

    public isSubsetOf(other as HashSetSync<T>) as Boolean:

Description

Returns true when every element of this set is present in `other`.

Parameters

Parameter | Description
--- | ---
`other` | Candidate superset.

Returns

True when this set is a subset of `other`.

Example

    import klyn.collections

    assert s:{1, 2}.isSubsetOf(s:{1, 2, 3})