@pixi/utils
Version:
Collection of utilities used by PixiJS
1 lines • 427 B
Source Map (JSON)
{"version":3,"file":"uid.mjs","sources":["../../src/data/uid.ts"],"sourcesContent":["let nextUid = 0;\n\n/**\n * Gets the next unique identifier\n * @memberof PIXI.utils\n * @function uid\n * @returns {number} The next unique identifier to use.\n */\nexport function uid(): number\n{\n return ++nextUid;\n}\n"],"names":[],"mappings":"AAAA,IAAI,OAAU,GAAA,CAAA,CAAA;AASd,SAAA,GAAA,GAAA;AACI,EAAA,OAAO,EAAE,OAAA,CAAA;AACb;;;;"}