"isEmpty" (mapping::isEmpty)
Returns true if the mapping is empty.
Synopsis
int mapping.isEmpty();
Parameters
| Parameter | Description |
|---|---|
| - | - |
Details
Returns TRUE if the mapping contains no key/value pairs, FALSE otherwise.
Example
main()
{
mapping m;
DebugN(m.isEmpty()); // TRUE
m.insert("city", "Vienna");
DebugN(m.isEmpty()); // FALSE
}
