generateIDBasic

View sourcegenerateIDBasic(): number

Returns the next ID from this module’s counter.

The counter starts at 0 when the module is evaluated, so the first call returns 1. Every caller shares the same counter, which is not reset.

Returns

The next numeric ID.