Skip to content

feat: is_solid#56

Merged
william-silversmith merged 6 commits intomasterfrom
wms_solid
Mar 17, 2026
Merged

feat: is_solid#56
william-silversmith merged 6 commits intomasterfrom
wms_solid

Conversation

@william-silversmith
Copy link
Contributor

Checks if array is all one value or matches a given value.
This is different from np.array_equal because it accepts
integers as a comparison. It's different from np.all(img == 0)
because it has both early exit and doesn't create a copy.

Returns True if the array is empty.

@william-silversmith william-silversmith self-assigned this Mar 17, 2026
@william-silversmith william-silversmith added the enhancement New feature or request label Mar 17, 2026
@william-silversmith william-silversmith merged commit fedc655 into master Mar 17, 2026
16 checks passed
@william-silversmith william-silversmith deleted the wms_solid branch March 17, 2026 17:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant