IsValid()
Reports whether this FileHandle instance is valid.
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Method
- Namespace: Unity.IO.LowLevel.Unsafe
- Assembly: UnityEngine.CoreModule
public bool IsValid()
Returns
Type | Description |
|---|---|
| bool | True, if this FileHandle represents an open file; otherwise, false. |
Remarks
A FileHandle is invalid if the open operation failed or the FileHandle has been closed. (Creating a new FileHandle object is also invalid.)