English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية

Erlang Distributed Programming is_alive Method

Erlang Distributed Programming

If the local node is alive and can be part of a distributed system, it returns true. Otherwise, it returns false.

Syntax

is_alive()

Parameters

  • None

Return Value

If the local node is active and can be part of a distributed system, it returns true. Otherwise, it returns false.

-module(helloworld). 
-export([start/0]). 
start() ->
   io:fwrite("~p",[is_alive()]).

Output Results

When we run the above program, we will get the following results.

false

Erlang Distributed Programming