Skip to main content

isValidSecp256r1Point

For the complete documentation index, see llms.txt

@midnight-ntwrk/compact-runtime v0.20.0


@midnight-ntwrk/compact-runtime / isValidSecp256r1Point

Function: isValidSecp256r1Point()

function isValidSecp256r1Point(p): p is Secp256r1Point;

Check whether a value is a valid Secp256r1Point: an object whose x and y are bigints in the base field and whose identity is a boolean. A point that is not the identity must also lie on the curve.

Parameters​

p​

unknown

Returns​

p is Secp256r1Point