EditorState.facet method
EditorState › facet
Official
Get the value of a state facet.Signature:
facet(facet: FacetReader<Output>): OutputParameters:
| Parameter | Type | Description |
|---|---|---|
| facet | FacetReader<Output> | The facet reader. |
Returns: Output — The facet value.