A JS function and API inspired by /dev/null
that will throw away whatever you send it and return null
.
@stevekrouse.devNull("useless data")
https://api.val.town/v1/run/stevekrouse.devNull?args=[%22useless%20data%22]
Honestly I don't know why you'd use this function. I just made it as a joke to link to it from @stevekrouse.dm. I guess you could also use it a joke to send data you want to call attention to the fact that you very much don't care about it, ie I really don't care about the price of bitcoin:
@stevekrouse.devNull(await @stevekrouse.currency("usd", "btc"))
this is a terrible no good val that nobody should ever use - shame on you for writing it