Query Methods
- Last UpdatedSep 16, 2022
- 1 minute read
|
Name |
Result |
Purpose |
|
.isValid() |
BOOLEAN |
Is the selection valid. (This is a standard method, and should not normally need to be called.) |
|
.selected(DBREF) |
DBREF |
Returns highest significant parent of given element, i.e. the element which will be included in the selection. |
|
.isSelectable(DBREF) |
BOOLEAN |
Returns true if the given element is in itself selectable within the scope of the selection. |
|
.isModifiable(DBREF) |
BOOLEAN |
Returns true if the highest significant parent of the given element is modifiable. |
|
.inSelection(DBREF) |
BOOLEAN |
Returns true if the given element exists in the selection. |
|
.ancestors(DBREF) |
ARRAY of DBREFs |
Returns list of permissible ancestors for given element, within the current scope. |
|
.getSelection() |
ARRAY of DBREFs |
Returns all elements in the selection. |