Replies: 2 comments 1 reply
-
Original reply by @vnzongzna in cuelang/cue#518 (comment) I got my solution here in slack. which pointed to checking against bottom. So a possible solution is
While this solution does work would it make sense to have an inbuilt function to return them? |
Beta Was this translation helpful? Give feedback.
-
Original reply by @mpvl in cuelang/cue#518 (comment)
I think it may make sense to have a builtin for that. A more general builtin to make this nicer could be something like |
Beta Was this translation helpful? Give feedback.
-
Originally opened by @vnzongzna in cuelang/cue#518
I need to determine if a value will of type
struct
orlist
to make the decision on adding new fields in it.For example
Beta Was this translation helpful? Give feedback.
All reactions