MCPcopy Create free account
hub / github.com/chanced/jsonptr / first

Method first

src/pointer.rs:176–178  ·  view source on GitHub ↗

Returns the first `Token` in the `Pointer`. alias for `front`

(&self)

Source from the content-addressed store, hash-verified

174 ///
175 /// alias for `front`
176 pub fn first(&self) -> Option<Token> {
177 self.front()
178 }
179
180 /// Splits the `Pointer` into the first `Token` and a remainder `Pointer`.
181 pub fn split_front(&self) -> Option<(Token, &Self)> {

Callers 3

qc_pop_and_pushFunction · 0.80
qc_splitFunction · 0.80
qc_intersectionFunction · 0.80

Calls 1

frontMethod · 0.80

Tested by

no test coverage detected