Skip to content
IsaacShelton edited this page Mar 21, 2022 · 1 revision

void

void is pseudo-type that represents the absence of a type.

Must often, it's used as the return type of functions/methods that don't return a value.

func doThings() void {
    doTask1()
    doTask2()
    doTask3()
}

*void

*void is an alias for ptr.

Clone this wiki locally