Function hasName [src]

Prototype

pub fn hasName(id: Id) bool

Parameters

id: Id

Source

pub fn hasName(id: Id) bool { return switch (id) { .unnamed_test, .@"comptime", .@"usingnamespace", .pub_usingnamespace, => false, else => true, }; }