remove<T>
Removes the first occurrence of a value from the array in place; does nothing when it is absent.
Import:
import 'obsidian-test-mocks/setup';Signature:
function remove(this: T[], target: T): voidParameters:
| Parameter | Type | Description |
|---|---|---|
this |
T[] | |
target |
T | The value to remove. |
Returns: void