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:
@@ -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
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user