Skip to content
This repository was archived by the owner on Nov 25, 2025. It is now read-only.

Commit 82ec067

Browse files
Source compiled.
1 parent 19441c6 commit 82ec067

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

dist/validators.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ function IsVarNameValid(varName) {
77
exports.IsVarNameValid = IsVarNameValid;
88
function IsVarTypeValid(varType) {
99
const values = Object.values(contracts_1.VarType);
10-
return (values.indexOf(varType) >= 0);
10+
return (values.indexOf(varType) !== -1);
1111
}
1212
exports.IsVarTypeValid = IsVarTypeValid;

0 commit comments

Comments
 (0)