StateCommand

typealias StateCommand = (target: StateCommandTarget) -> Boolean

Subtype of Command that doesn't require access to the actual editor view.