whenInstanceOf
Return a filtered version of the source that will only map values that are an instance of the given type.
Return
a new filtered source instance
Parameters
<R>
the target type
target
the target type to match
Return a filtered version of the source that will only map values that are an instance of the given type.
a new filtered source instance
the target type
the target type to match