Getting value.map is not a function in inArray(properties.amenities, amenities)); drizzle - Theo's Typesafe Cult