Function: readResults()
ts
function readResults(text, sides?): TypedResults;Defined in: src/stats.ts:188
Results typed or pasted from a real die, such as 3 5 6 6 1 or 3,5,6: whole numbers separated by spaces, commas or new lines. sides is the die; left out, it is taken to be the highest face seen, and at least 2. Says which piece it could not read.
Parameters
text
string
sides?
number