Patterns matching is the process of performing syntactical testing of the value to verify whether it matches the certain model. There are three types of patterns: