element_of
- Settable:
- no
- Arguments:
- (1) character, character array
- (2) object, object array
- (3) room, room array
- (4) integer, integer array
- (5) boolean, boolean array
- (6) string, string array
- Return Value:
- boolean
Returns whether the array contains the given element or not. Thus
element_of('a',['a','b','c'])
returns true while
element_of(1,[2,3,4,5])
returns false.