mirror of
https://github.com/iptv-org/database.git
synced 2024-11-22 02:44:10 -05:00
Update csv.js
This commit is contained in:
parent
db6da6c853
commit
ad938d1c14
1 changed files with 8 additions and 1 deletions
|
@ -64,7 +64,14 @@ function listParser(value) {
|
||||||
}
|
}
|
||||||
|
|
||||||
function boolParser(value) {
|
function boolParser(value) {
|
||||||
return value === 'true'
|
switch (value) {
|
||||||
|
case 'TRUE':
|
||||||
|
return true
|
||||||
|
case 'FALSE':
|
||||||
|
return false
|
||||||
|
default:
|
||||||
|
return value
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function nullable(value) {
|
function nullable(value) {
|
||||||
|
|
Loading…
Reference in a new issue