MCPcopy Create free account
hub / github.com/everx-labs/everdev / nextIs

Method nextIs

src/controllers/contract/param-parser.ts:27–29  ·  view source on GitHub ↗
(test: (c: string) => boolean)

Source from the content-addressed store, hash-verified

25 }
26
27 nextIs(test: (c: string) => boolean): boolean {
28 return this.hasMore() && test(this.text[this.pos])
29 }
30
31 passIf(test: (c: string) => boolean): boolean {
32 if (this.nextIs(test)) {

Callers 2

passIfMethod · 0.95
parseScalarMethod · 0.95

Calls 1

hasMoreMethod · 0.95

Tested by

no test coverage detected