happy-opfs • Docs
happy-opfs / isDirectoryHandle
function isDirectoryHandle(handle): handle is FileSystemDirectoryHandle
Whether the handle is a directory.
Parameter | Type | Description |
---|---|---|
handle |
FileSystemHandle |
The handle which is a FileSystemHandle. |
handle is FileSystemDirectoryHandle
true
if the handle is a directory, otherwise false
.