We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 659e22a commit 9764714Copy full SHA for 9764714
1 file changed
src/javascript/Misc.js
@@ -132,10 +132,7 @@ export function CheckLuhnBit(Data) {
132
let DCheck = Data[Data.byteLength - 1];
133
let Check = GetLuhnBit(Data.subarray(0, Data.byteLength - 1));
134
135
- if (Check == DCheck) {
136
- return true;
137
- }
138
- return false;
+ return Check == DCheck;
139
}
140
141
export function shuffle(array) {
0 commit comments