All matches every command. Use for audit / metrics observers that must run on the whole surface.
()
| 14 | // All matches every command. Use for audit / metrics observers that |
| 15 | // must run on the whole surface. |
| 16 | func All() Selector { return func(CommandView) bool { return true } } |
| 17 | |
| 18 | // None matches no command. Useful as a "disabled" placeholder. |
| 19 | func None() Selector { return func(CommandView) bool { return false } } |
no outgoing calls