(entry: FileSystemEntry)
| 7 | } |
| 8 | |
| 9 | function isFileSystemDirectoryEntry(entry: FileSystemEntry): entry is FileSystemDirectoryEntry { |
| 10 | return entry.isDirectory; |
| 11 | } |
| 12 | |
| 13 | function isFileSystemFileHandle(entry: FileSystemHandle): entry is FileSystemFileHandle { |
| 14 | return entry.kind === 'file'; |