Files

13 lines
238 B
Swift
Raw Permalink Normal View History

2025-01-28 12:28:03 +08:00
import Foundation
import Libbox
extension LibboxStringIteratorProtocol {
func toArray() -> [String] {
var array: [String] = []
while hasNext() {
array.append(next())
}
return array
}
}