Skip to main content
Module

std/node/crypto.ts>checkPrime

Deno standard library
Go to Latest
function checkPrime
Re-export
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