OxL Справочник OxL
РусскийEnglish

method node.isUp

Whether the node is running (not crashed).

Example:

oxl✓ проверяется в CI
use std.test { node }

test sim "nodes start up" seeds 1..=2 {
  assert node.isUp("n1")
}
pub(api) static fn isUp(name: str) -> bool

С версии. 1.0.0-beta

Параметры

ИмяТип
namestr

Возвращает

bool

Эффекты

не объявлены (чистая, пока тело не говорит иное)

Определено в: std/test/test.oxl:255

См. также