1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 02:27:43 +00:00

LibWeb: Add is_code_unit_prefix() function

This commit is contained in:
networkException 2022-10-23 04:02:56 +02:00 committed by Linus Groh
parent dcad8494d6
commit ee27d8cdfd
2 changed files with 38 additions and 0 deletions

View file

@ -1,5 +1,6 @@
/*
* Copyright (c) 2022, Linus Groh <linusg@serenityos.org>
* Copyright (c) 2022, networkException <networkexception@serenityos.org>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
@ -11,5 +12,6 @@
namespace Web::Infra {
String strip_and_collapse_whitespace(StringView string);
bool is_code_unit_prefix(StringView potential_prefix, StringView input);
}