module RSpec::Core::FlatMap
Experimental RBS support (using type sampling data from the type_fusion
project).
# sig/rspec/core/flat_map.rbs module RSpec::Core::FlatMap def flat_map: (Array[] array, ) -> untyped def flat_map: (Array[] array, ) -> untyped end
def flat_map(array, &block)
Experimental RBS support (using type sampling data from the type_fusion
project).
def flat_map: ( array, ) -> untyped
This signature was generated using 1 sample from 1 application.
def flat_map(array, &block) array.flat_map(&block) end
def flat_map(array, &block)
Experimental RBS support (using type sampling data from the type_fusion
project).
def flat_map: ( array, ) -> untyped
This signature was generated using 1 sample from 1 application.
for 1.8.7
def flat_map(array, &block) array.map(&block).flatten(1) end