Gcode.Model.Expr.Boolean (gcode v1.0.0)

Represents a boolean expression in G-code. Can be either true or false.

Link to this section Summary

Functions

Initialise a Boolean from a boolean value.

Link to this section Types

@type t() :: %Gcode.Model.Expr.Boolean{b: boolean()}

Link to this section Functions

@spec init(boolean()) :: Gcode.Result.t(t())

Initialise a Boolean from a boolean value.