UNPKG

@affinidi/common-check-widget-backend-lib

Version:

An common-check-widget-backend-lib used to development backend for common-check-widget-frontend

11 lines (8 loc) 245 B
'use strict'; module.exports = value => { if (Object.prototype.toString.call(value) !== '[object Object]') { return false; } const prototype = Object.getPrototypeOf(value); return prototype === null || prototype === Object.prototype; };