UNPKG
@rikishi/secure-env
Version:
latest (1.2.1)
1.2.1
Use ENVs securely with encryption
github.com/kunalpanchal/secure-env
kunalpanchal/secure-env
@rikishi/secure-env
/
dist
/
es5
/
node_modules
/
is-plain-obj
/
index.js
8 lines
(6 loc)
•
261 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
'use strict'
;
var
toString =
Object
.
prototype
.
toString
;
module
.
exports
=
function
(
x
) {
var
prototype;
return
toString.
call
(x) ===
'[object Object]'
&& (prototype =
Object
.
getPrototypeOf
(x), prototype ===
null
|| prototype ===
Object
.
getPrototypeOf
({})); };