(value)
| 105 | |
| 106 | export class IndexedSeq extends Seq { |
| 107 | constructor(value) { |
| 108 | // eslint-disable-next-line no-constructor-return |
| 109 | return value === undefined || value === null |
| 110 | ? emptySequence() |
| 111 | : isCollection(value) |
| 112 | ? isKeyed(value) |
| 113 | ? value.entrySeq() |
| 114 | : value.toIndexedSeq() |
| 115 | : isRecord(value) |
| 116 | ? value.toSeq().entrySeq() |
| 117 | : indexedSeqFromValue(value); |
| 118 | } |
| 119 | |
| 120 | static of(/*...values*/) { |
| 121 | return IndexedSeq(arguments); |
nothing calls this directly
no test coverage detected