TyphonJS Runtime Library (FVTT) 0.3.0
#runtime/types/fvtt-shim/guard
isDocument
Function isDocument
isDocument
(
doc
:
unknown
)
:
doc
is
Document
Parameters
doc
:
unknown
A potential Foundry document.
Returns
doc
is
Document
Whether the given object is a Foundry document.
Settings
Member Visibility
Inherited
Protected
Theme
OS
Light
Dark
Demo - Essential Svelte ESM
TyphonJS Runtime Library (FVTT) 0.3.0
A potential Foundry document.