type
ValueKind
What a Value holds: null, string, number, boolean, object, list, or a populated document.
Example
if value.Kind() == store.ValueList {
// Read items with value.Elements().
}How it works
Compare with the ValueNull, ValueString, ValueNumber, ValueBoolean, ValueObject, ValueList, and ValueDocument constants. Use String() for the kind's name in messages; a plain string conversion does not produce it.
Full signature
type ValueKind uint8Methods
ValueKind.String()The kind's name, such as "list", or "" for the zero Value.