Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/serpapi/src/utils.ts>validateApiKey

Scrape and parse search engine results using SerpApi.
Go to Latest
function validateApiKey
import { validateApiKey } from "https://deno.land/x/serpapi@0.0.8/src/utils.ts";

Parameters

value: string | undefined | null

Returns

string

Parameters

value: string | undefined | null
allowNull: boolean

Returns

string | undefined