Isa

From MiniScript Wiki
Revision as of 23:16, 19 February 2020 by JoeStrout (talk | contribs)
Jump to navigation Jump to search

Because this wiki software does not allow topic names to begin with an underscore, this page contains two different topics.

__isa

__isa is a special entry in a map that refers to the map's base class. It is part of MiniScript's support for object-oriented programming.

isa

isa is a binary operator which tests the left-hand operator for membership in the type defined by the right-hand side. That right-hand operator could be a user-defined map (to which the left-hand side might belong via the __isa chain), or it could be one of the built-in types number, string, list, map, or funcRef.


This article is a stub. You can help the MiniScript Wiki by expanding it.