message.filter will return a filerred array, and chain the map function
to the array

the callback of filter return boolean