mirror of
https://github.com/NeteaseCloudMusicApiEnhanced/api-enhanced.git
synced 2026-10-20 22:51:23 +08:00
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
module.exports = {
|
||||
toBoolean(val) {
|
||||
if (val === '') return val
|
||||
return val === 'true' || val == '1'
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user