isDraft
View as Markdownfunction isDraft(s): boolean;Defined in: react/src/state.ts:159
True when the composer targets a draft (no session yet) rather than the active session.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
s |
StoreState |
Returns
Section titled “Returns”boolean