func IsDeepEqual()

in isdef/core.go [86:97]


func IsDeepEqual(to interface{}) IsDef {
	return Is("equals", func(path llpath.Path, v interface{}) *llresult.Results {
		if reflect.DeepEqual(v, to) {
			return llresult.ValidResult(path)
		}
		return llresult.SimpleResult(
			path,
			false,
			fmt.Sprintf("objects not equal: actual(%T(%v)) != expected(%T(%v))", v, v, to, to),
		)
	})
}