(opt)
| 62 | } |
| 63 | |
| 64 | function booleanParser(opt) { |
| 65 | if (opt == true || opt == 'true' || opt == '1') { |
| 66 | return true; |
| 67 | } |
| 68 | return false; |
| 69 | } |
| 70 | |
| 71 | function booleanOrFunctionParser(opt) { |
| 72 | if (typeof opt === 'function') { |
no outgoing calls
no test coverage detected
searching dependent graphs…