[swift] add had<ArrayName> property for arrays to check presence in a message (#7280)

This commit is contained in:
mr-swifter
2022-05-11 16:35:53 +03:00
committed by GitHub
parent 0fe13cb28c
commit 1ea2472f7a
11 changed files with 153 additions and 1 deletions

10
tests/vector_has_test.fbs Normal file
View File

@@ -0,0 +1,10 @@
namespace Swift.Tests;
table Vectors
{
none:[ulong];
empty:[ulong];
array:[ulong];
}
root_type Vectors;