github.com/cycloidio/terraform@v1.1.10-0.20220513142504-76d5c768dc63/lang/types/type_type.go (about) 1 package types 2 3 import ( 4 "reflect" 5 6 "github.com/zclconf/go-cty/cty" 7 ) 8 9 // TypeType is a capsule type used to represent a cty.Type as a cty.Value. This 10 // is used by the `type()` console function to smuggle cty.Type values to the 11 // REPL session, where it can be displayed to the user directly. 12 var TypeType = cty.Capsule("type", reflect.TypeOf(cty.Type{}))