Function isFolder
-
isFolder(
doc: unknown,
): doc is Folder<
| "Actor"
| "Adventure"
| "Cards"
| "Item"
| "JournalEntry"
| "Macro"
| "Playlist"
| "RollTable"
| "Scene"
| "Compendium",
>Parameters
- doc: unknown
Returns doc is Folder<
| "Actor"
| "Adventure"
| "Cards"
| "Item"
| "JournalEntry"
| "Macro"
| "Playlist"
| "RollTable"
| "Scene"
| "Compendium",
>Whether the given object is a Foundry folder.
A potential Foundry folder.