SkillAgentSearch skills...

PeerType

Zig peer type resolution at comptime, ported from the compiler source code

Install / Use

/learn @alexnask/PeerType
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

PeerType

API

/// types must be an iterable of types (tuple, slice, ptr to array)
pub fn PeerType(comptime types: anytype) ?type;
pub fn coercesTo(comptime dst: type, comptime src: type) bool;
pub fn requiresComptime(comptime T: type) bool;

License

MIT

View on GitHub
GitHub Stars15
CategoryDevelopment
Updated3y ago
Forks3

Languages

Zig

Security Score

80/100

Audited on Mar 15, 2023

No findings