Module

std/node/crypto.ts

Deno standard library
Go to Latest
function checkPrime
import { checkPrime } from "https://deno.land/std@0.145.0/node/crypto.ts";

Parameters

candidate: LargeNumberLike
callback: (err: Error | null, result: boolean) => void

Parameters

candidate: LargeNumberLike
callback: (err: Error | null, result: boolean) => void

Parameters

_candidate: LargeNumberLike
optional
_options: CheckPrimeOptions | ((err: Error | null, result: boolean) => void)
optional
_callback: (err: Error | null, result: boolean) => void
import checkPrime
import { checkPrime } from "https://deno.land/std@0.145.0/node/crypto.ts";