Whether value is a lowercase hex string of exactly length characters.
value
length
Candidate.
Expected length (64 for keys and ids).
Type guard result.
isHex(MOCK_ACCOUNTS[0].pubkey, 64) === true; Copy
isHex(MOCK_ACCOUNTS[0].pubkey, 64) === true;
Whether
valueis a lowercase hex string of exactlylengthcharacters.