UNPKG
xliff-generator
Version:
beta.1 (1.0.0)
latest (1.0.0-beta.0)
1.0.0-beta.0
A simple module to create xliff files
github.com/markusblasek/node-xliff-generator
xliff-generator
/
dist
/
utils
/
string-util.js
10 lines
(9 loc)
•
286 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
"use strict"
;
Object
.
defineProperty
(
exports
,
"__esModule"
, {
value
:
true
});
class
StringUtil
{
static
isOnlyWhiteSpaces
(
value
) {
return
!
this
.
regexIsOnlyWhiteSpaces
.
test
(value); } }
StringUtil
.
regexIsOnlyWhiteSpaces
=
new
RegExp
(
/\S/
);
exports
.
StringUtil
=
StringUtil
;