ZIO Blocks
has a new website! Visit
zioblocks.com
to explore the docs 🚀
Overview
Reference
API
Guides
Ecosystem
Resources
Events
Blog
Search
Overview
Reference
API
Guides
Ecosystem
Resources
Events
Blog
← ZIO Prelude docs
ZIO Prelude
API
zio.prelude
data
Optional
WithFilter
WithFilter
zio.prelude.data.Optional.WithFilter
class
WithFilter
(
p
:
A
=>
Boolean
)
Attributes
Source
Optional.scala
Graph
Reset zoom
Hide graph
Show graph
Supertypes
class
Object
trait
Matchable
class
Any
Members list
Clear all
Value members
Concrete methods
def
flatMap
[
B
](
f
:
A
=>
Optional
[
B
]):
Optional
[
B
]
Attributes
Source
Optional.scala
def
foreach
[
U
](
f
:
A
=>
U
):
Unit
Attributes
Source
Optional.scala
def
map
[
B
](
f
:
A
=>
B
):
Optional
[
B
]
Attributes
Source
Optional.scala
def
withFilter
(
q
:
A
=>
Boolean
):
WithFilter
Attributes
Source
Optional.scala
In this article
Attributes
Members list
Value members
Concrete methods