(self: ReadonlyArray<A>)
| 387 | * @category unsafe |
| 388 | */ |
| 389 | export const unsafeFromArray = <A>(self: ReadonlyArray<A>): Chunk<A> => |
| 390 | self.length === 0 ? empty() : self.length === 1 ? of(self[0]) : makeChunk({ _tag: "IArray", array: self }) |
| 391 | |
| 392 | /** |
| 393 | * Wraps an array into a chunk without copying, unsafe on mutable arrays |
no test coverage detected
searching dependent graphs…