tact-lang / tact

Tact compiler main repository
https://tact-lang.org
MIT License
267 stars 53 forks source link

Consider introducing a `Slice.loadBool()` extension mutation function #411

Closed novusnota closed 5 days ago

novusnota commented 5 days ago

It will mirror the Builder.storeBool() function and can essentially be an alias to calling Slice.loadInt(1). Having such alias is important for completeness of the stdlib.

Alternatively, we may just make a note in the docs for Slice.loadInt() or something.

_Idea taken from: Comments in Tact Kitchen_

Gusarich commented 5 days ago

Makes sense