Skip to content

Function: keptFaces() ​

ts
function keptFaces(faces, keep): boolean[];

Defined in: src/dice.ts:677

Which faces count towards the total when one is kept. Ties keep the first die that shows the kept value.

Parameters ​

faces ​

readonly number[]

keep ​

Keep

Returns ​

boolean[]

MIT © John Morris