blob: 14edf5ece2320038f7c32f547857942549b1ed7d [file] [log] [blame]
package types
import (
"reflect"
"github.com/zclconf/go-cty/cty"
)
// TypeType is a capsule type used to represent a cty.Type as a cty.Value. This
// is used by the `type()` console function to smuggle cty.Type values to the
// REPL session, where it can be displayed to the user directly.
var TypeType = cty.Capsule("type", reflect.TypeOf(cty.Type{}))