fixed case sensitive
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
*/
|
||||
const booler = (val) => {
|
||||
// transform to string lower case.
|
||||
val = val + "".toLowerCase();
|
||||
val = (val + "").toLowerCase();
|
||||
return val == 't' || val == 'true' || val == 1;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user