Hi hail team,
If I have a number and a list of numbers, is there a fast way to find the closest value in the list to the input number? For example, if I have the number
5 and the list
[1, 7, 10, 15], I’d like to be able to quickly pull
7 from the list.
min can do this, but I can’t seem to implement the same functionality with
hl.min(). Is there a workaround, or am I missing something?