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

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

Summary

Functions

Initialise a Boolean from a boolean value.

Types

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

Functions

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

Initialise a Boolean from a boolean value.