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 > Optional
Optional type
Signature:export declare type Optional<T> =
| {
defined: true
value: T
}
| {
defined: false
value: null
}