This is a heavily interactive web application, and JavaScript is required. Simple HTML interfaces are possible, but that is not what this is.
Post
Adam Chalmers
adamchalmers.com
did:plc:3ohd5nodgvayjdegkhzayr6q
ugh I fucking hate Typescript
// Does the array contain the target?
const labels = ["end"]
const target = "end"
const is_found = labels.find((arg) => { arg == target }) !== undefined
console.log(is_found)
took me over 10 mins to find the error.
www.typescriptlang.org/play/#code/P...
https://www.typescriptlang.org/play/?#code/PTAEBEHsFMGdQC4AtqgIYCcNoJ6gMaQB2CaAlkYiopgObQID8AUIUbAqADZoBG0XeAF5QAbQBE0IgBNxAXVbEONDPU4jJM8YvacysAPoAzSAFcZoET36CAdEYrSAFE7oBKSwD5QAb3SrLEVJVBlAAXw8AQiERc2loByJoaR1YSC5oWy5IWid9YzMZN2YgA
2025-01-08T21:18:03.657Z