- Preparing search index...
- The search index is not available
bun-types
- checkPrime(value: "crypto".LargeNumberLike, callback: ((err: Error, result: boolean) => void)): void
-
Parameters
-
-
callback: ((err: Error, result: boolean) => void)
-
- (err: Error, result: boolean): void
-
Parameters
-
err: Error
-
result: boolean
Returns void
Returns void
- checkPrime(value: "crypto".LargeNumberLike, options: "crypto".CheckPrimeOptions, callback: ((err: Error, result: boolean) => void)): void
-
Parameters
-
-
-
callback: ((err: Error, result: boolean) => void)
-
- (err: Error, result: boolean): void
-
Parameters
-
err: Error
-
result: boolean
Returns void
Returns void
- checkPrime(value: "crypto".LargeNumberLike, callback: ((err: Error, result: boolean) => void)): void
-
Parameters
-
-
callback: ((err: Error, result: boolean) => void)
-
- (err: Error, result: boolean): void
-
Parameters
-
err: Error
-
result: boolean
Returns void
Returns void
- checkPrime(value: "crypto".LargeNumberLike, options: "crypto".CheckPrimeOptions, callback: ((err: Error, result: boolean) => void)): void
-
Parameters
-
-
-
callback: ((err: Error, result: boolean) => void)
-
- (err: Error, result: boolean): void
-
Parameters
-
err: Error
-
result: boolean
Returns void
Returns void
Checks the primality of the
candidate
.