MCPcopy
hub / github.com/BishopFox/jsluice / dequote

Function dequote

tree.go:495–497  ·  view source on GitHub ↗

dequote removes surround quotes from the provided string

(in string)

Source from the content-addressed store, hash-verified

493
494// dequote removes surround quotes from the provided string
495func dequote(in string) string {
496 return strings.Trim(in, "'\"`")
497}
498
499// content returns the source for the provided tree-sitter
500// node, checking if the node is nil first.

Callers 2

RawStringMethod · 0.70
DecodeStringFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected