isBotAgent 

사용자 에이전트 값을 분석하여 검색 엔진의 봇인지 확인합니다. 봇인 경우 true를 반환합니다.
Parameters
| 이름 | 타입 | 필수 | 기본값 |
|---|---|---|---|
userAgent | string | ● | – |
Returns
boolean
Examples
javascript
isBotAgent('Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)'); // Returns truedart
isBotAgent('Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)'); // Returns truepython
isBotAgent('Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)') # Returns True