Skip to content
callcount

package

github.com/zclconf/go-cty/cty

third-party

40 third-party functions from github.com/zclconf/go-cty/cty, ranked by how often they are called outside tests and generated code.

Docs on pkg.go.dev ↗

prod calls
11,474
non-test, non-generated
all calls
54,626
total callsites
functions
40
ranked in this snapshot
origin
ext
third-party

members

Functions in github.com/zclconf/go-cty/cty

Ranked by production calls. The bar scales each function against the busiest in this package.

Function Prod calls
StringVal 1,287
Value.IsNull 987
Value.Type 986
Value.AsString 782
UnknownVal 748
Value.IsKnown 605
ObjectVal 466
Value.GetAttr 461
NullVal 410
Type.IsObjectType 274
Path.NewErrorf 264
Type.ElementType 255
ListVal 221
Value.WithMarks 212
Value.Unmark 208
Type.IsTupleType 202
Type.FriendlyName 199
ElementIterator.Element 195
ElementIterator.Next 195
Value.ElementIterator 195
Type.IsMapType 190
Type.IsListType 185
Type.IsSetType 163
NumberIntVal 162
Value.LengthInt 154
Value.True 149
Value.AsValueMap 145
Type.Equals 129
Type.AttributeTypes 120
List 113
Value.UnmarkDeep 107
Value.IsWhollyKnown 106
Value.RawEquals 87
Set 79
ListValEmpty 78
Value.Mark 75
TupleVal 72
Map 70
Value.AsBigFloat 70
Value.UnmarkDeepWithPaths 68