(s)
| 21390 | return s |
| 21391 | } |
| 21392 | function parseValue(s) { |
| 21393 | if ('string' == typeof s || 'number' == typeof s) return s |
| 21394 | if ('object' != typeof s) return '' |
| 21395 | if (Array.isArray(s)) return classNames.apply(null, s) |
| 21396 | if ( |
| 21397 | s.toString !== Object.prototype.toString && |
| 21398 | !s.toString.toString().includes('[native code]') |
| 21399 | ) |
| 21400 | return s.toString() |
| 21401 | var o = '' |
| 21402 | for (var i in s) a.call(s, i) && s[i] && (o = appendClass(o, i)) |
| 21403 | return o |
| 21404 | } |
| 21405 | function appendClass(s, o) { |
| 21406 | return o ? (s ? s + ' ' + o : s + o) : s |
| 21407 | } |
no test coverage detected