function RxBrioUtils.flatCombineLatestBrio(J,p)assert(type(J)=="\116\097\098\108\101","\066\097\100 \111\098\115\101\114\118\097\098\108\101\115")return(RxBrioUtils.flatCombineLatest(J)):Pipe({RxBrioUtils.switchToBrio(),p and RxBrioUtils.where(p)or nil})end

function RxBrioUtils.flatCombineLatestBrio(observables, filter)
	assert(type(observables) == "table", "Bad observables")

	return RxBrioUtils.flatCombineLatest(observables)
		:Pipe({
			RxBrioUtils.switchToBrio();
			filter and RxBrioUtils.where(filter) or nil
		})
end
