[lang-ref] ( init_array ) ( swift )
@Test func initArray() {
// [ .. ]
let items = [1, 2, 3]
#expect(items is Array<Int>)
#expect(items.count == 3)
}
@Test func initArray() {
// [ .. ]
let items = [1, 2, 3]
#expect(items is Array<Int>)
#expect(items.count == 3)
}