Editor Open

Returns a boolean indicating whether the editor view is open.

Syntax

function getInEditor(state) {
  return state.views["Main"] === "editor";
}