// IsComputed returns whether the given key is computed or not.
IsComputed returns whether the given key is computed or not.
// IsComputed returns whether the given key is computed or not .
func (c *ResourceConfig) IsComputed(k string) bool {
	v, ok := c.get(k, c.Config)
	if !ok {
		return false
	}
	if v == nil {
		return false
	}
	var w unknownCheckWalker
	if err := reflectwalk.Walk(v, &w); err != nil {
		panic(err)
	}
	return w.Unknown
}
func ( c * ResourceConfig ) IsComputed ( k string ) bool { v , ok := c . get ( k , c . Config ) if ! ok { return false } if v == nil { return false } var w unknownCheckWalker if err := reflectwalk . Walk ( v , & w ) ; err != nil { panic ( err ) } return w . Unknown }
IsComputed returns whether the given key is computed or not.
IsComputed returns whether the given key is computed or not .
// The next thing we do is check the config if we get a computed // value out of it. // If value is nil, then it isn't computed // Test if the value contains an unknown value