maxelm (npm): Returns the maximum element of the array based on the condition.
Keywords: return|maximum|element|array|condition|maxelm