Does it takes in count current bar high

In code for pi HHV(14) will the high of current bar will be taken in consideration.
Or except current bar high will it take values from last 14 bars and not current bar high.?