isBot
function isBot(userAgent): boolean;Defined in: src/clicks/bots.ts:142
True when the user agent looks automated: crawlers, unfurlers, monitors, headless browsers, HTTP libraries — or is missing entirely.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
userAgent |
string | null | undefined |
Returns
Section titled “Returns”boolean