method node.isUp
Whether the node is running (not crashed).
Example:
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
Параметры
| Имя | Тип |
|---|---|
name | str |
Возвращает
bool
Эффекты
не объявлены (чистая, пока тело не говорит иное)
Определено в: std/test/test.oxl:255