blob: 5b87acd1c65dd63acf7a11568415e0c0c881494d [file] [log] [blame]
MG Mud User88f12472016-06-24 23:31:02 +02001SYNOPSIS
Zesstra715ec202025-07-09 22:18:31 +02002 int m_contains(mixed &data1, ..., &dataN, map, key)
MG Mud User88f12472016-06-24 23:31:02 +02003
Zesstra715ec202025-07-09 22:18:31 +02004DESCRIPTION
5 If the mapping contains the key map, the corresponding values
6 are assigned to the data arguments, which must be passed by
7 reference, and 1 is returned. If key is not in map, 0 is
8 returned and the data args are left unchanged.
9 It is possible to use this function for a 0-value mapping, in
10 which case it has the same effect as member(E).
MG Mud User88f12472016-06-24 23:31:02 +020011
Zesstra715ec202025-07-09 22:18:31 +020012HISTORY
13 Renamed from 'mapping_contains()' in LDMud 3.2.6.
MG Mud User88f12472016-06-24 23:31:02 +020014
Zesstra715ec202025-07-09 22:18:31 +020015SEE ALSO
MG Mud User88f12472016-06-24 23:31:02 +020016 m_entry(E), mappings(LPC), member(E)