Help

JS-CARDINALITY-ARRAY

You can also pass an array to any of the methods which work with cardinalities. For example:

myVnums = new Array( 4000, 4012, 4020, 4021 );
// the following returns true if the actor has any of the four vnums
actor.has( 'any', myVnums );
// this returns true if the actor has all of the specified vnums and 4025
actor.has( 'all', myVnums, 4025 );