Code style: missing semicolon
Signed-off-by: Fabio José <fabiojose@gmail.com>
This commit is contained in:
parent
68530adebb
commit
792d32b3f9
|
@ -6,14 +6,14 @@ const isDefined = (v) => v && (typeof v) != "undefined";
|
|||
const isDefinedOrThrow = (v, t) =>
|
||||
(isDefined(v)
|
||||
? () => true
|
||||
: (() => {throw t})());
|
||||
: (() => {throw t;})());
|
||||
|
||||
const isStringOrObjectOrThrow = (v, t) =>
|
||||
(isString(v)
|
||||
? true
|
||||
: isObject(v)
|
||||
? true
|
||||
: (() => {throw t})());
|
||||
: (() => {throw t;})());
|
||||
|
||||
module.exports = {
|
||||
isString : isString,
|
||||
|
|
Loading…
Reference in New Issue