method ClusterApi.self
The id of this node.
Example:
fn main() io {
print("{cluster.self().name.len() > 0}")
}Output
true
pub(api) fn self() -> NodeIdSince. 1.0.0-beta
Returns
Effects
none declared (pure unless the body says otherwise)
Defined in: std/core/node.oxl:253