FcheckPrime
Bun

function

crypto.checkPrime

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

Checks the primality of the candidate.

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

Checks the primality of the candidate.