@haxall/haxall
Preparing search index...
node
crypto
checkPrime
Function checkPrime
checkPrime
(
value
:
LargeNumberLike
,
callback
:
(
err
:
Error
,
result
:
boolean
)
=>
void
,
)
:
void
Checks the primality of the
candidate
.
Parameters
value
:
LargeNumberLike
callback
:
(
err
:
Error
,
result
:
boolean
)
=>
void
Returns
void
Since
v15.8.0
checkPrime
(
value
:
LargeNumberLike
,
options
:
CheckPrimeOptions
,
callback
:
(
err
:
Error
,
result
:
boolean
)
=>
void
,
)
:
void
Checks the primality of the
candidate
.
Parameters
value
:
LargeNumberLike
options
:
CheckPrimeOptions
callback
:
(
err
:
Error
,
result
:
boolean
)
=>
void
Returns
void
Since
v15.8.0
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
@haxall/haxall
Loading...
Checks the primality of the
candidate
.