Skip to content

utilities: Fix boolean casting in string to boolean block#2558

Merged
GarboMuffin merged 1 commit into
masterfrom
SharkPool-SP-patch-10
Jul 3, 2026
Merged

utilities: Fix boolean casting in string to boolean block#2558
GarboMuffin merged 1 commit into
masterfrom
SharkPool-SP-patch-10

Conversation

@SharkPool-SP

Copy link
Copy Markdown
Collaborator

Resolves: #1986

@SharkPool-SP
SharkPool-SP requested a review from a team as a code owner July 3, 2026 17:33
@github-actions github-actions Bot added the pr: change existing extension Pull requests that change an existing extension label Jul 3, 2026

@Brackets-Coder Brackets-Coder left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should've been fixed like 18 months ago, nice one-liner

@Brackets-Coder

Copy link
Copy Markdown
Contributor

The only concerns i might have are the rare occasions where a project might rely on this not returning a boolean, but I significantly doubt that since the block is a boolean anyway and that's what most users would expect to be returned

@SharkPool-SP

Copy link
Copy Markdown
Collaborator Author

Relying on a bug for a coupler block that goes into Boolean slots.

If someone is using this for another behaviour (which is incorrect) than that's on them.

@GarboMuffin

Copy link
Copy Markdown
Member

Ok, sure

@GarboMuffin GarboMuffin changed the title Utilities.js -- Fix boolean casting in String to Boolean block utilities: Fix boolean casting in string to boolean block Jul 3, 2026
@GarboMuffin
GarboMuffin merged commit 0e759e5 into master Jul 3, 2026
5 checks passed
@GarboMuffin
GarboMuffin deleted the SharkPool-SP-patch-10 branch July 3, 2026 23:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr: change existing extension Pull requests that change an existing extension

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Boolean in Utilities has unintended functionality due to Casting.

3 participants