Skip to content

implement cast from bool to number#6274

Merged
nwt merged 1 commit intomainfrom
cast-bool-to-number
Oct 2, 2025
Merged

implement cast from bool to number#6274
nwt merged 1 commit intomainfrom
cast-bool-to-number

Conversation

@nwt
Copy link
Member

@nwt nwt commented Oct 2, 2025

The cast() documentation specifies that a bool value can be cast to a number type where false is 0 and true is 1.

The cast() documentation specifies that a bool value can be cast to a
number type where false is 0 and true is 1.
@nwt nwt requested a review from a team October 2, 2025 15:42
@nwt nwt merged commit 7c8b98a into main Oct 2, 2025
3 checks passed
@nwt nwt deleted the cast-bool-to-number branch October 2, 2025 19:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants