yIsEven property
bool
get
yIsEven
True if the Y-coordinate is even as required for Schnorr signatures. If the Y-coorindate is not even, then the odd equivilent can be obtained via xonly.
Implementation
bool get yIsEven
// Compressed even type
=> _data[0] == 2
// Uncompressed even type
|| _data[0] == 6
// Uncompressed and check for even
|| (_data[0] == 4 && (_data.last & 1 == 0));