Does anyone know how I would do this? So a d3.js selection, which is basically an array of dom elements with extra functions, has the function .each() which can take a lambda function. Within the lambda function 'this' takes on the value of the current element in the iteration. How would I write an external kotlin function so that I can reference a given element that is normally 'this' inside the lambda?