Skip to content

@dice-roller/rpg-dice-roller / ast / drop

Function: drop() โ€‹

Call Signature โ€‹

drop(end, qty?): DropNode

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

Drop qty highest (h) or lowest (l) items; quantity defaults to 1.

Parameters โ€‹

end โ€‹

PoolEnd

qty? โ€‹

number

Returns โ€‹

DropNode

Call Signature โ€‹

drop(end, qty): ComputedDropNode

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

Drop qty highest (h) or lowest (l) items; quantity defaults to 1.

Parameters โ€‹

end โ€‹

PoolEnd

qty โ€‹

ExpressionNode

Returns โ€‹

ComputedDropNode

MIT Licensed ยท Credits