FileSystemAdapter.trash method
FileSystemAdapter › trash
Unofficial
Moves a file to the OS trash via IPC (desktop only).Signature:
trash(fullPath: string): booleanParameters:
| Parameter | Type | Description |
|---|---|---|
| fullPath | string | The absolute file-system path to trash. |
Returns: boolean — Whether the file was successfully trashed.