-
Notifications
You must be signed in to change notification settings - Fork 2
DsStack
Hyomoto edited this page Dec 12, 2020
·
16 revisions
| Jump To | Go Back |
Arguments | Methods | Variables |
|---|
Implements: DsChain
A garbage-collected stack.
stack = new DsStack()
stack.push( "Hello!" )
show_debug_message( stack.pop() );| Name | Type | Purpose |
|---|---|---|
| values... | mixed |
The initial values to be pushed to the stack. |
| Jump To | top |
push | top | pop | copy | is |
|---|
Returns: N/A undefined
| Name | Type | Purpose |
|---|---|---|
| values... | mixed |
The values to be pushed onto the stack. |
Returns: N/A undefined
| Name | Type | Purpose |
|---|---|---|
| values... | mixed |
Returns the value on top of the stack. |
Returns: N/A undefined
| Name | Type | Purpose |
|---|---|---|
| values... | mixed |
Removes the value on top of the stack and returns it. |
Returns: DsStack
| Name | Type | Purpose |
|---|---|---|
| None |
Returns a copy of this DsStack.
Returns: boolean (true or false)
| Name | Type | Purpose |
|---|---|---|
| type | Constructor |
The Constructor to compare this against. |
Returns true if the provided type is DsStack.
| Jump To | top |
|---|
No variables defined.
Devon Mullane 2020