The API reference is a Work in Progress and will be continuously improved and extended. We'd love to hear your feedback in our documentation repository.
Home > @edtr-io/plugin > scalar
scalar() function
Signature:export declare function scalar<S>(initialState: S): ScalarStateType<S>
Parameters
Parameter | Type | Description |
---|---|---|
initialState | S | The initial value |