| 5 | import { isKeyed } from './predicates/isKeyed'; |
| 6 | |
| 7 | export class Collection { |
| 8 | constructor(value) { |
| 9 | // eslint-disable-next-line no-constructor-return |
| 10 | return isCollection(value) ? value : Seq(value); |
| 11 | } |
| 12 | } |
| 13 | |
| 14 | export class KeyedCollection extends Collection { |
| 15 | constructor(value) { |
no outgoing calls
no test coverage detected