mirror of https://go.googlesource.com/go
13 lines
356 B
Go
13 lines
356 B
Go
// Copyright 2014 The Go Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style
|
|
// license that can be found in the LICENSE file.
|
|
|
|
package runtime
|
|
|
|
import "internal/abi"
|
|
|
|
// isDirectIface reports whether t is stored directly in an interface value.
|
|
func isDirectIface(t *_type) bool {
|
|
return t.Kind_&abi.KindDirectIface != 0
|
|
}
|