mirror of
https://github.com/dolthub/dolt.git
synced 2026-04-25 03:34:05 -05:00
ede5f43204
This is so that we can get the runtime type of a value
14 lines
209 B
Go
14 lines
209 B
Go
package types
|
|
|
|
import (
|
|
"github.com/attic-labs/noms/ref"
|
|
)
|
|
|
|
// Value is implemented by every noms value
|
|
type Value interface {
|
|
Equals(other Value) bool
|
|
Ref() ref.Ref
|
|
Chunks() []Future
|
|
TypeRef() TypeRef
|
|
}
|