blob: a16fa14b4ad88c0bec8a7482788b591e5dff290d [file] [log] [blame]
SYNOPSIS
int widthof(mapping map)
DESCRIPTION
Returns the number of values per key of mapping <map>.
If <map> is 0, the result is 0.
EXAMPLES
mapping m = ([ "foo": 1;2 ]);
widthof(m) --> returns 2
HISTORY
Introduced in LDMud 3.2.6.
SEE ALSO
sizeof(E), mkmapping(E), m_reallocate(E), m_values(E),
unmkmapping(E)