UNPKG

@grindife/supamelon

Version:

Combination of supabase and watermelondb

7 lines (4 loc) 190 B
// inspired by ramda and rambda type KeyValueOut<O = any> = { [k: string]: O } type KeyValueIn<O = any> = [string, O][] export default function toPairs(obj: KeyValueIn): KeyValueOut