OxL Reference

method node.isUp

Whether the node is running (not crashed).

Example:

oxl✓ checked in 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

Since. 1.0.0-beta

Parameters

NameType
namestr

Returns

bool

Effects

none declared (pure unless the body says otherwise)

Defined in: std/test/test.oxl:255

See also