UNPKG

@discoveryjs/discovery

Version:

Frontend framework for rapid data (JSON) analysis, shareable serverless reports and dashboards

4 lines (3 loc) 210 B
const { toString, hasOwnProperty } = Object.prototype; export const objectToString = (value) => toString.call(value); export const hasOwn = Object.hasOwn || ((object, key) => hasOwnProperty.call(object, key));