Check if the erlang/elixir running in browser or backend

How to check if the elixir/erlang is running on the backend or frontend? need suggestion please

Hi!

In the context of LiveView, Elixir code is always running on the server and JS always on the client.

Do you have some particular piece of code you need help understanding?

1 Like