...
Syntax | <bool> map:isMap(<Object> object) |
---|---|
Extension Type | Function |
Description | Returns true if the object is a map or false otherwise. |
Example | isMap(students) returns true if the students object is a map. It returns false if the students object is not a map. |
Put function
Syntax |
|
---|---|
Extension Type | Function |
Description | Returns the updated map after adding the given key-value pair. |
Example | put(students , 1234 , ”sam”) returns the updated map named students after adding the object "sam" with key 1234 . |
...