(val)
| 10 | } |
| 11 | |
| 12 | function parse(val){ |
| 13 | if (typeof val === 'string') { |
| 14 | const temp = val.toLowerCase(); |
| 15 | if(temp === 'true' || temp ==="yes" || temp==="1") return true; |
| 16 | else if(temp === 'false' || temp ==="no" || temp==="0") return false; |
| 17 | } |
| 18 | return val; |
| 19 | } |
no outgoing calls
no test coverage detected
searching dependent graphs…