UNPKG
@lxdhub/dbsync
Version:
latest (1.10.5)
unstable (1.10.6-alpha.33)
1.10.6-alpha.33
1.10.6-alpha.28
1.10.6-alpha.18
1.10.6-alpha.16
1.10.6-alpha.4
1.10.6-alpha.3
1.10.6-alpha.2
1.10.5
1.10.5-alpha.0
1.10.4
1.10.4-alpha.0
1.10.3
1.10.3-alpha.3
1.10.3-alpha.1
1.10.2
1.10.2-alpha.47
1.10.2-alpha.42
1.10.2-alpha.41
1.10.2-alpha.40
1.10.1
1.10.0
1.9.2-0
1.9.1
1.9.0
1.8.1
1.8.0
1.7.0
1.6.0
1.4.0
1.3.0
Display, search and copy LXD-images using a web interface.
github.com/Roche/lxdhub
Roche/lxdhub
@lxdhub/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