Sign in
apache
/
nifi-fds
/
6435e394f6c7c31d3f61a4bfc9702bde2a1659fa
/
.
/
node_modules
/
utila
/
lib
/
string.js
blob: e574c2cb4322cffd8be9c2bab026a60b6e981f8d [
file
] [
log
] [
blame
]
// Generated by CoffeeScript 1.6.3
module
.
exports
=
{
pad
:
function
(
n
,
width
,
z
)
{
if
(
z
==
null
)
{
z
=
'0'
;
}
n
=
n
+
''
;
if
(
n
.
length
>=
width
)
{
return
n
;
}
else
{
return
new
Array
(
width
-
n
.
length
+
1
).
join
(
z
)
+
n
;
}
}
};