Skip to content

Use stdlib Str::isEmpty() to check if a string is visually empty - #387

Merged
lippserd merged 1 commit into
mainfrom
callouts-stdlib-isempty
Jul 27, 2026
Merged

lippserd merged 1 commit into
mainfrom
callouts-stdlib-isempty

Conversation

@TheSyscall

Copy link
Copy Markdown
Contributor

Str::isEmpty() also handles Unicode whitespace, making the check visually empty rather than just ASCII-empty. Adds a test for a Unicode whitespace-only title.

@cla-bot cla-bot Bot added the cla/signed label Jun 3, 2026
@TheSyscall
TheSyscall force-pushed the callouts-stdlib-isempty branch from 4970450 to 01483f2 Compare July 8, 2026 08:49
@TheSyscall
TheSyscall marked this pull request as ready for review July 8, 2026 08:50
@TheSyscall
TheSyscall requested a review from jrauh01 July 8, 2026 08:50
@jrauh01

jrauh01 commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

Please rebase.

@TheSyscall
TheSyscall force-pushed the callouts-stdlib-isempty branch from 01483f2 to ef0df25 Compare July 15, 2026 09:42
Str::isEmpty() also handles Unicode whitespace, making the check visually empty
rather than just ASCII-empty. Adds a test for a Unicode whitespace-only title.
@jrauh01
jrauh01 force-pushed the callouts-stdlib-isempty branch from ef0df25 to b139919 Compare July 27, 2026 09:18
@lippserd
lippserd merged commit 2e096a4 into main Jul 27, 2026
14 checks passed
@lippserd
lippserd deleted the callouts-stdlib-isempty branch July 27, 2026 09:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants