subset? ( set1 set2 -- ? )

Factor handbook » The language » Collections » Sets » Operations on sets

Factor handbook » The language » Collections » Sets » Operations on sets

Prev: | intersects? ( set1 set2 -- ? ) |

Next: | set= ( set1 set2 -- ? ) |

Vocabulary

sets

Inputs

Outputs

Word description

Tests if every element of set1 is contained in set2.

Notes

If set1 is empty, the result is always t.

Definition

Methods

sets

Inputs

set1 | a set |

set2 | a set |

Outputs

? | a boolean |

Word description

Tests if every element of set1 is contained in set2.

Notes

If set1 is empty, the result is always t.

Definition

Methods

This documentation was generated offline from a
`load-all`

image. If you want, you can also
browse the documentation from within the UI developer tools. See
the Factor website
for more information.

Factor 0.99 x86.64 (2203, heads/master-424edf64aa, Mar 8 2023 13:48:50)