Makes an array by removing the element at the lowest index that equals ElementToRemove from Input.
Fails if Input did not contain any instances of ElementToRemove.
Verse using statement |
using { /Verse.org/Verse } |
(Input:[]t).RemoveFirstElement<public>(ElementToRemove:t where t:comparable):[]t
Parameters
RemoveFirstElement takes the following parameters:
| Name | Type | Description |
|---|---|---|
Input |
[]t |
|
ElementToRemove |
t |
|
t |
comparable |
Attributes, Specifiers, and Effects
The following attributes, specifiers, and effects determine how you can interact with RemoveFirstElement in your programs, as well as how it behaves in your programs and UEFN. For the complete list of attributes, specifiers, and effects; see the Specifiers Page.
Specifiers
| Specifier | Meaning |
|---|---|
public |
The identifier is universally accessible. You can use this on modules, classes, interfaces, structs, enums, methods, and data. |