Command: SubsetQ

NEST HelpDesk Command Index NEST Quick Reference

Name:
 SubsetQ - Test if one dictionary is a subset of another

Synopsis:
   dict1 dict2 SubsetQ -> bool

Parameters:
   dict1 - dictionary
   dict2 - dictionary

Description:
   The functions returns true, if all entries of dict2 are present in dict1
   with the same values.

Examples:
   << /a 1 /b 2 /c 2 >> << /c 2 >> SubsetQ -> true
Source:
 /home/abuild/rpmbuild/BUILD/nest-2.4.1/lib/sli/nest-init.sli

NEST HelpDesk Command Index NEST Quick Reference

© 2000-2010 The NEST Initiative