Pattern.getReferenceCount

Returns the current reference count of pattern. Since 1.4

class Pattern
uint
getReferenceCount
()

Return Value

Type: uint

the current reference count of pattern. If the object is a nil object, 0 will be returned.

Meta