clump.pebble.contactnum

Syntax

ir = clump.pebble.contactnum(p<,i>)

Get number of active contacts around a pebble. The optional argument enables filtering by contact type.

Returns:

ir - active contact number

Arguments:

p - pebble pointer

i - optional unique contact type identification integer