1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

comptime: implement field.is_enum (#16920)

This commit is contained in:
Swastik Baranwal
2023-01-09 23:42:07 +05:30
committed by GitHub
parent c2eb4d7065
commit 413a8b5f87
4 changed files with 23 additions and 2 deletions

View File

@@ -125,6 +125,7 @@ pub:
is_array bool // `f []string` , TODO
is_map bool // `f map[string]int` , TODO
is_chan bool // `f chan int` , TODO
is_enum bool // `f Enum` where Enum is an enum
is_struct bool // `f Abc` where Abc is a struct , TODO
is_alias bool // `f MyInt` where `type MyInt = int`, TODO
//