getPattern

Returns the type of pattern

Return

the pattern type