(value)
| 23 | |
| 24 | export class Seq extends Collection { |
| 25 | constructor(value) { |
| 26 | // eslint-disable-next-line no-constructor-return |
| 27 | return value === undefined || value === null |
| 28 | ? emptySequence() |
| 29 | : isImmutable(value) |
| 30 | ? value.toSeq() |
| 31 | : seqFromValue(value); |
| 32 | } |
| 33 | |
| 34 | toSeq() { |
| 35 | return this; |
nothing calls this directly
no test coverage detected