UNPKG
@yoroi/common
Version:
latest (6.0.1)
6.0.1
6.0.0
2.0.0
1.5.4
1.5.3
1.5.2
1.5.1
1.5.0
1.4.0
1.3.0
1.2.0
1.1.0
The Common package of Yoroi SDK
github.com/Emurgo/yoroi/tree/develop/packages/common/README.md
@yoroi/common
/
lib
/
commonjs
/
storage
/
helpers
/
is-file-key.js
12 lines
(11 loc)
•
258 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
"use strict"
;
Object
.
defineProperty
(
exports
,
"__esModule"
, {
value
:
true
});
exports
.
isFileKey
=
void
0
;
const
isFileKey
= (
{ key, path }
) => !key.
slice
(path.
length
).
includes
(
'/'
);
exports
.
isFileKey
= isFileKey;
//# sourceMappingURL=is-file-key.js.map