Update foundation example to query whether the array contains
specified objects.
This commit is contained in:
parent
e6232bdccb
commit
380fee39bf
|
@ -16,4 +16,6 @@ func main() {
|
|||
n3 := ns.StringWithUTF8String(ns.CharFromString("ok bye"))
|
||||
a := ns.ArrayWithObjects(n1,n2,n3)
|
||||
fmt.Println("Length(a) = ",a.Count())
|
||||
fmt.Println("is n2 in a?",a.ContainsObject(n2))
|
||||
fmt.Println("is c1 in a?",a.ContainsObject(c1))
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user