Skip to content

@dice-roller/rpg-dice-roller / ast / unique

Function: unique() ​

unique(options?): UniqueNode

Defined in: src/ast/builders.ts:249

Re-roll duplicate dice with the built-in handler, optionally restricted by a compare point; once defaults to false.

Parameters ​

options? ​

comparePoint? ​

ComparePoint

once? ​

boolean

Returns ​

UniqueNode

MIT Licensed · Credits