Is there any way to know currently running has been deno compiled?

Can something like Deno.compiled be used to determine this?
DAH
Deno AI Helper57d ago
I wasn't able to find the answer to your question in the official Deno documentation. However, based on your message, it seems like you're asking if there's a way to determine if the currently running script has been compiled into a standalone executable using Deno. As of my knowledge cutoff date, Deno does not provide a built-in property like Deno.compiled to check if a script is running as a compiled executable. However, you might consider using environment variables or specific build flags when compiling your script to differentiate between a compiled executable and a script running through the Deno CLI. Please note that this advice is not based on the Deno documentation, and I would recommend double-checking the accuracy of this advice and exploring other community resources or forums for more information.