happy-opfs • Docs
happy-opfs / isFileHandleLike
function isFileHandleLike(handle): handle is FileSystemFileHandleLike
Whether the handle is a file-like.
Parameter | Type | Description |
---|---|---|
handle |
FileSystemHandleLike |
The handle which is a FileSystemHandleLike. |
handle is FileSystemFileHandleLike
true
if the handle is a file, otherwise false
.