Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/polkadot/phishing/mod.ts>checkHost

Package publishing for deno.land/x/polkadot
Go to Latest
function checkHost
Deprecated
Deprecated

While not due for removal, it is suggested to rather use the checkIfDenied function (which is more optimal overall)

import { checkHost } from "https://deno.land/x/polkadot@0.2.36/phishing/mod.ts";

Checks a host to see if it appears in the provided list

Parameters

list: string[]
host: string

Returns

boolean