How to make sequence, string and map to bounded? #3920
-
I want to use these types in Data-sharing. How to limit these data to bounded? |
Beta Was this translation helpful? Give feedback.
Answered by
RowdenRichardConway
Oct 10, 2023
Replies: 1 comment
-
I believe in the IDL you can bound things with angled brackets, for instance:
should produce a Foo type with a property called myString which can be a maximum of 12 characters in length, and a list/array of 16-bit integers which can contain a maximum of 10 elements. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
JLBuenoLopez
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I believe in the IDL you can bound things with angled brackets, for instance:
should produce a Foo type with a property called myString which can be a maximum of 12 characters in length, and a list/array of 16-bit integers which can contain a maximum of 10 elements.