Пример #1
0
func tupleCheck(obj Object) bool {
	if obj == nil {
		return false
	}
	return C.tupleCheck(c(obj)) != 0
}
Пример #2
0
func AsTuple(o *Base) (v *Tuple, ok bool) {
	if ok = C.tupleCheck(o.c()) != 0; ok {
		v = newTuple(o.c())
	}
	return
}