checkPrime - Node documentation
function checkPrime

Usage

import { checkPrime } from "node:crypto";

Checks the primality of the candidate.

Parameters

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

Return Type

void

Parameters

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

Return Type

void