Skip to content

Latest commit

 

History

History
24 lines (14 loc) · 577 Bytes

eth-connect.toboolean.md

File metadata and controls

24 lines (14 loc) · 577 Bytes

Home > eth-connect > toBoolean

toBoolean() function

Converts value to it's boolean representation (x != 0)

Signature:

export declare function toBoolean(value: BigNumber.Value | boolean): boolean;

Parameters

Parameter Type Description
value BigNumber.Value | boolean

Returns:

boolean