Kind: Function
Source: atloria-monorepo/apps/api/src/analytics/utils/tracking-utils.ts
Returns true if the given user-agent string looks like a bot/crawler/automation tool. Empty strings are treated as bots — a real browser always sends a UA.
Signature
tsfunction isBot(userAgent: string | null | undefined): boolean
Parameters
| Name | Type |
|---|---|
userAgent | `string |
Returns: boolean
Was this page helpful?