export const isTypedData = (value: unknown): value is TypedData =>
  isObject(value) && value.hasOwnProperty('$type')