function checkPrime
Usage in Deno
```typescript import { checkPrime } from "node:node__crypto.d.ts"; ```
checkPrime(value: LargeNumberLike,callback: (err: Error | null,result: boolean,) => void,): void
Checks the primality of the `candidate`.
value: LargeNumberLike
void
checkPrime(value: LargeNumberLike,options: CheckPrimeOptions,callback: (err: Error | null,result: boolean,) => void,): void
value: LargeNumberLike
options: CheckPrimeOptions
void