Skip to content

WorkspaceLayoutStateKey.get

WorkspaceLayoutStateKey › get

Type: (leaf?: WorkspaceLeaf) => T

Reads the value: a clone of the stored one, or of the default when nothing is stored or the stored value fails the key's guard.