Skip to main content
function checkPrime
checkPrime(
callback: (
err: Error | null,
result: boolean,
) => void
,
): void
Deprecated

Checks the primality of the candidate.

Parameters

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

Return Type

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

Parameters

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

Return Type

void
Back to top