assoc-subset? ( assoc1 assoc2 -- ? )
Factor handbook » The language » Collections » Associative mapping operations » Set-theoretic operations on assocs

Next:assoc-intersect ( assoc1 assoc2 -- intersection )


Vocabulary
assocs

Inputs
assoc1an assoc
assoc2an assoc


Outputs
?a boolean


Word description
Tests if assoc2 contains all key/value pairs of assoc1.

Definition