scale
scale<
T>(question):object
Defined in: src/expressions/scale.ts:66
Define a scale: scale("how severe...").from(low).through(mid).to(high).
Type Parameters
Section titled “Type Parameters”| Type Parameter | Default type |
|---|---|
T |
unknown |
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
question |
string |
Returns
Section titled “Returns”object
| Name | Type | Defined in |
|---|---|---|
from() |
(description) => ScaleLevels<T> |
src/expressions/scale.ts:66 |