Zig 0.17.0-dev (Split by item)

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 library itself.

eql

Domain names are case-insensitive (RFC 5890, Section 2.3.2.4)

HostName.eql
pub fn eql(a: HostName, b: HostName) bool

File

lib/std/Io/net/HostName.zig:138

Code

pub fn eql(a: HostName, b: HostName) bool {
    return std.ascii.eqlIgnoreCase(a.bytes, b.bytes);
}