@ecp.eth/sdk / comments / decodeBoolValue
Function: decodeBoolValue()
function decodeBoolValue(encodedValue): boolean;
Defined in: packages/sdk/src/comments/metadata.ts:451
Decodes a boolean value from encoded metadata bytes
Parameters
encodedValue
`0x${string}`
The hex-encoded bytes (32 bytes, 1 for true, 0 for false)
Returns
boolean
The decoded boolean value