Active Tool

Returns a Tool describing the currently active tool.

Syntax

function getActiveTool(state) {
  return state.selectedTool;
}