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
commit ee27d8cdfd
Notes: sideshowbarker 2024-07-17 16:42:19 +09:00
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);
}