Difference between revisions of "Map type"
Jump to navigation
Jump to search
(Created page with "<c>map type</c> returns a map that represents the map datatype in MiniScript's core type system. See also: number; string; list; funcRef === Usage Notes ===...") |
|||
Line 14: | Line 14: | ||
[[Category:Intrinsic Functions]] | [[Category:Intrinsic Functions]] | ||
− |
Revision as of 16:08, 18 March 2020
map type
returns a map that represents the map datatype in
MiniScript's core type system.
See also: number; string; list; funcRef
Usage Notes
map type
can be used with isa
to check whether a variable refers to a map. You can also
assign new methods here to make them available to all maps.
Example
{1:"one"} isa map // returns 1