mirror of
https://github.com/zebrajr/ladybird.git
synced 2025-12-06 00:19:53 +01:00
AK: Add FlyString::is_ascii()
This matches the method already available present in String.
This commit is contained in:
parent
c55f281475
commit
cb818c8245
|
|
@ -65,6 +65,7 @@ public:
|
|||
|
||||
[[nodiscard]] FlyString to_ascii_lowercase() const;
|
||||
[[nodiscard]] FlyString to_ascii_uppercase() const;
|
||||
[[nodiscard]] bool is_ascii() const { return bytes_as_string_view().is_ascii(); }
|
||||
|
||||
[[nodiscard]] bool starts_with_bytes(StringView, CaseSensitivity = CaseSensitivity::CaseSensitive) const;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user