MCPcopy Create free account
hub / github.com/csskit/csskit / is_whitespace

Function is_whitespace

crates/css_lexer/src/syntax/mod.rs:24–26  ·  view source on GitHub ↗
(c: char)

Source from the content-addressed store, hash-verified

22
23#[inline(always)]
24pub const fn is_whitespace(c: char) -> bool {
25 c.is_ascii() && ASCII_WHITESPACE.0[c as usize]
26}
27
28#[inline(always)]
29pub const fn is_newline(c: char) -> bool {

Callers 2

read_next_tokenMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected