Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/vektra/mockery
/ Type
Method
Type
template/var.go:24–26 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
22
}
23
24
func
(v Var) Type() types.Type {
25
return
v.typ
26
}
27
28
// IsSlice returns whether the type (or the underlying type) is a slice.
29
func
(v Var) IsSlice() bool {
Callers
14
IsSlice
Method · 0.95
TypeString
Method · 0.95
Nillable
Method · 0.95
methodData
Method · 0.80
explicitConstraintType
Function · 0.80
ParsePackages
Method · 0.80
isConstraintIdent
Function · 0.80
checkDeprecatedTemplateVariables
Function · 0.80
AddVar
Method · 0.80
populateImportsHelper
Method · 0.80
varName
Function · 0.80
LookupInterface
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected