UNPKG
@f5io/jsont
Version:
latest (1.0.3)
1.0.3
1.0.2
1.0.1
1.0.0
Transform JSON Objects with ES6/2015 template strings
github.com/f5io/jsont
f5io/jsont
@f5io/jsont
/
lib
/
utils
/
index.js
12 lines
(10 loc)
•
277 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
'use strict'
;
Object
.
defineProperty
(
exports
,
"__esModule"
, {
value
:
true
});
const
isUndefined =
exports
.
isUndefined
=
function
(
o
) {
return
typeof
o ===
'undefined'
; };
const
isMirror =
exports
.
isMirror
=
function
(
s
) {
return
s.
raw
.
length
===
1
&& s.
raw
[
0
] ===
''
; };