Foundry Virtual Tabletop - API Documentation - Version 14
    Preparing search index...

    Function parseUuid

    • Parse a UUID into its constituent parts, identifying the type and ID of the referenced document. The ResolvedUUID result also identifies a "primary" document which is a root-level document either in the game World or in a Compendium pack which is a parent of the referenced document.

      Parameters

      Returns ResolvedUUID | null

      Returns, if possible, the Collection, Document Type, and Document ID to resolve the parent document, as well as the remaining Embedded Document parts, if any.