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

Method is_last

crates/css_lexer/src/private.rs:133–135  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

131 /// Check if there's exactly one or zero bytes remaining.
132 #[inline(always)]
133 fn is_last(&self) -> bool {
134 self.pos >= self.bytes.len()
135 }
136
137 /// Return the remaining bytes as a &str (valid since source is UTF-8)
138 #[inline(always)]

Callers 3

read_next_tokenMethod · 0.80
deriveFunction · 0.80
newMethod · 0.80

Calls 1

lenMethod · 0.45

Tested by

no test coverage detected