There was an error while loading. Please reload this page.
getID returns the final, 16-digit alphanumeric sequence from a Foundry VTT UUID — the part that uniquely identifies a document among its siblings.
uuid: string
A Foundry VTT UUID.
The final, 16-digit alphanumeric sequence from a Foundry VTT UUID — the part that uniquely identifies a document among its siblings.
import { getID } from '@revolutionarygamesco/common' getID('Actor.1111111111111111') // 1111111111111111 getID('JournalEntry.2222222222') // 2222222222 getID('JournalEntry.2222222222.JournalEntryPage.3333333333333333') // 3333333333333333