MCPcopy Create free account
hub / github.com/docopt/docopt.go / hasSuffix

Method hasSuffix

docopt.go:636–641  ·  view source on GitHub ↗
(suffix string)

Source from the content-addressed store, hash-verified

634 return strings.HasPrefix(string(*t), prefix)
635}
636func (t *token) hasSuffix(suffix string) bool {
637 if t == nil {
638 return false
639 }
640 return strings.HasSuffix(string(*t), suffix)
641}
642func (t *token) isUpper() bool {
643 if t == nil {
644 return false

Callers 1

parseAtomFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected