UNPKG
@randombenj/dbsync
Version:
beta (1.10.2-alpha.0)
latest (1.10.2-alpha.0)
unstable (1.10.2-alpha.41)
1.10.2-alpha.42
1.10.2-alpha.41
1.10.2-alpha.38
1.10.2-alpha.35
1.10.2-alpha.0
Display, search and copy LXD-images using a web interface.
github.com/Roche/lxdhub
Roche/lxdhub
@randombenj/dbsync
/
lib
/
util
/
trim-if-possible.js
10 lines
•
293 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
"use strict"
;
Object
.
defineProperty
(
exports
,
"__esModule"
, {
value
:
true
});
function
trimIfPossible
(
value
) {
if
(value &&
typeof
value ===
'string'
) {
return
value.
trim
(); }
return
''
; }
exports
.
trimIfPossible
= trimIfPossible;
//# sourceMappingURL=trim-if-possible.js.map