Skip to content
This repository has been archived by the owner on Nov 4, 2019. It is now read-only.

Commit

Permalink
Fix boolean test in leveros-common (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
bydooweedoo authored and Vlad Alexandru Ionescu committed May 20, 2016
1 parent fd973d2 commit 6a7a8f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/leveros-common/lib/leveros-common.js
Expand Up @@ -87,7 +87,7 @@ export function jsToArg(value) {
arg.json_string = value;
} else if (lodash.isNumber(value)) {
arg.json_number = value;
} else if (lodash.isBool(value)) {
} else if (lodash.isBoolean(value)) {
arg.json_bool = value;
} else if (lodash.isNull(value) || lodash.isUndefined(value)) {
// Set nothing.
Expand Down

0 comments on commit 6a7a8f2

Please sign in to comment.