diff --git a/common/shared.js b/common/shared.js index 7ab6a62..043dfaf 100644 --- a/common/shared.js +++ b/common/shared.js @@ -11,6 +11,8 @@ export function isRight(obj) { } } else if (isValueType(obj) === 'number' && (isValueType(obj) === "number" && !isNaN(obj)) && obj !== 0) { return true; + } else if (isValueType(obj) === 'boolean') { + return obj } for (var key in obj) { return true;