(str)
| 616 | * @return {boolean} |
| 617 | */ |
| 618 | export function stringToBool(str) { |
| 619 | return ( |
| 620 | str !== 'false' && |
| 621 | str !== '' && |
| 622 | str !== '0' && |
| 623 | str !== 'null' && |
| 624 | str !== 'NaN' && |
| 625 | str !== 'undefined' |
| 626 | ); |
| 627 | } |
no outgoing calls
no test coverage detected