MCPcopy Index your code
hub / github.com/endbasic/endbasic / is_success

Method is_success

core/src/bytecode.rs:81–83  ·  view source on GitHub ↗

Returns true if this code represents successful execution.

(self)

Source from the content-addressed store, hash-verified

79impl ExitCode {
80 /// Returns true if this code represents successful execution.
81 pub fn is_success(self) -> bool {
82 self.0 == 0
83 }
84
85 /// Creates an `ExitCode` from an integer.
86 pub fn try_new(value: i32) -> Result<Self, InvalidExitCodeError> {

Callers 5

compile_and_get_globalFunction · 0.80
mainFunction · 0.80
execMethod · 0.80

Calls

no outgoing calls

Tested by 2