Schema.is, I don't get the intended behaviour;encode function but it is degenerate and I don't need it. I would rather make it illegal to try to encode with this schema.S.Tuple(S.Record({key: S.String, value})) and index my way into the result each time I need to access the value but using a transform is appealing as it abstracts away the DB.Object.values trick I can make a mistake when indexing the object, or the field name in the query can change, so it's certainly nice to have one function that does this while also decoding.