MCPcopy
hub / github.com/expr-lang/expr / IsString

Method IsString

checker/nature/nature.go:502–504  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

500}
501
502func (n *Nature) IsString() bool {
503 return n.Kind == reflect.String
504}
505
506func (n *Nature) IsByteSlice() bool {
507 return n.Type == byteSliceType

Callers 3

IsAnyOfMethod · 0.95
binaryNodeMethod · 0.80
builtinNodeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected