* Checks if all of the given keys are currently held. * * @param keys - Array of key names to check * @returns True if all of the keys are currently held
(keys: Array<string>)
| 226 | * @returns True if all of the keys are currently held |
| 227 | */ |
| 228 | areAllKeysHeld(keys: Array<string>): boolean { |
| 229 | return keys.every((key) => this.isKeyHeld(key)) |
| 230 | } |
| 231 | |
| 232 | /** |
| 233 | * Destroys the tracker and removes all listeners. |
no test coverage detected