deno.com

function checkPrime

Overload 1

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

Checks the primality of the candidate.

Parameters #

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

Return Type #

void

Overload 2

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

Parameters #

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

Return Type #

void