* Whether the current platform matches a bot user agent. * @return {boolean}
()
| 119 | * @return {boolean} |
| 120 | */ |
| 121 | isBot() { |
| 122 | return /bot/i.test(this.navigator_.userAgent); |
| 123 | } |
| 124 | |
| 125 | /** |
| 126 | * Returns the major version of the browser. |
no test coverage detected