Skip to content

Bool

@algorandfoundation/algorand-typescript


@algorandfoundation/algorand-typescript / arc4 / Bool

Class: Bool

Defined in: packages/algo-ts/src/arc4/encoded-types.ts:209

A boolean value

Extends

Constructors

new Bool()

new Bool(v?): Bool

Defined in: packages/algo-ts/src/arc4/encoded-types.ts:217

Create a new Bool value

Parameters

v?

boolean

The native boolean to initialize this value from

Returns

Bool

Overrides

ARC4Encoded.constructor

Accessors

bytes

Get Signature

get bytes(): bytes

Defined in: packages/algo-ts/src/arc4/encoded-types.ts:97

Retrieve the encoded bytes for this type

Returns

bytes

Inherited from

ARC4Encoded.bytes


native

Get Signature

get native(): boolean

Defined in: packages/algo-ts/src/arc4/encoded-types.ts:224

Get the decoded native boolean for this value

Returns

boolean