(keyChar)
| 87 | // This tests whether there is a mapping of keyChar in the current key state (and accounts for |
| 88 | // pass keys). |
| 89 | isMappedKey(keyChar) { |
| 90 | // TODO(philc): tweak the generated js. |
| 91 | return ((this.keyState.filter((mapping) => keyChar in mapping))[0] != null) && |
| 92 | !this.isPassKey(keyChar); |
| 93 | } |
| 94 | |
| 95 | // This tests whether keyChar is a digit (and accounts for pass keys). |
| 96 | isCountKey(keyChar) { |
no test coverage detected