This is an example of documentation generated by ZigDoc, an alternative to Zig's built-in Auto Doc feature. See also examples in other modes/formats. The project being documented here (as the example) is the Zig standard library. Public Function
isValidAlign
Public Function
std.mem.isValidAlign
pubfnisValidAlign(alignment: usize) bool
Returns whether alignment is a valid alignment, meaning it is a positive power of 2.
Returns whether
alignmentis a valid alignment, meaning it is a positive power of 2.