checkPrime
external fun checkPrime(value: LargeNumberLike, callback: (JsError?, result: Boolean) -> Unit)(source)
Checks the primality of the candidate
.
Since
v15.8.0
Parameters
candidate
A possible prime encoded as a sequence of big endian octets of arbitrary length.
external fun checkPrime(value: LargeNumberLike, options: CheckPrimeOptions, callback: (JsError?, result: Boolean) -> Unit)(source)