Type guard: returns true if v is a record, i.e. a non-null object that is not an array.
Parameters
v: unknown
Returns visRecord<string,unknown>
Remarks
Use this over isObj on anything off the wire: JSON admits an array or a string where a
record is declared, and spreading one of those materializes a property per element/character.
Type guard: returns
trueifvis a record, i.e. a non-null object that is not an array.