zio.blocks.chunk.NonEmptyChunk
See theNonEmptyChunk companion class
object NonEmptyChunk
Attributes
- Companion
- class
- Source
- Chunk.scala
- Graph
-
- Supertypes
- Self type
-
NonEmptyChunk.type
Members list
Value members
Concrete methods
Constructs a NonEmptyChunk from one or more values.
Checks if a chunk is not empty and constructs a NonEmptyChunk from it.
Checks if a chunk is not empty and constructs a NonEmptyChunk from it.
Attributes
- Source
- Chunk.scala
Constructs a NonEmptyChunk from the :: case of a List.
Constructs a NonEmptyChunk from an Iterable.
Constructs a NonEmptyChunk from an Iterable or None otherwise.
Constructs a NonEmptyChunk from a single value.
Extracts the elements from a Chunk.
Extracts the elements from a NonEmptyChunk.
Concrete fields
The unit non-empty chunk.
Implicits
Implicits
Provides an implicit conversion from NonEmptyChunk to Chunk for methods that may not return a NonEmptyChunk.
Provides an implicit conversion from NonEmptyChunk to Chunk for methods that may not return a NonEmptyChunk.
Attributes
- Source
- Chunk.scala
In this article