Example ObjVector isInside 007




These examples check if the value is a member of the Vectors using the isInside function.



A dictionary is not contained the Vector.

(isInside #{dic| A: 1 B: 2} #(obj| #{A: 1 B: 2} #(1 2 ) )) Returns: false

The Vector, #(1 2 ), is contained in the Vector.

(isInside #(1 2 ) #(obj| #{A: 1 B: 2} #(1 2 ) )) Returns: true


Related Examples

Here are examples of the isInside function at work.

BitVector isInside 008 Dictionary isInside 002 Directory isInside 003 IntVector isInside 005
List isInside 010 Matrix isInside 005 NumMatrix isInside 011 NumVector isInside 006
ObjVector isInside 007 Pair isInside 009 Pair isMember 008 ShortVector isInside 006
Structure isInside 001 Vector isInside 004


Function Links

Here is the link to the current function used in this example.


Here are a number of links to other related functions.

compareEQ(ObjVector) comparison(ObjVector) isEqual(ObjVector) isIdentical(ObjVector)
member(ObjVector) isMember(ObjVector) inside(ObjVector)


Argument Types

Here are the links to the data types of the arguments used in this example.


Here are a number of links to examples having similar argument types.

ObjVector isInside 007

How do I contact the AIS Server team?

You can always talk with the AIS at aiserver.sourceforge.net.