StaticarrayChecks if the array contains the element. Throws an expression if it doens't. The test is equivalent to array.indexOf(element) != -1.
StaticdiffThe original text
The revised text
StaticinstanceOptionalsource: stringOptionaluserTypeName: stringStaticisStaticisStaticisStaticisChecks if the given value is a join point. If a type is given, checks if the join point is an instance of the given type. Otherwise, throws an exception.
If true, passes check if value is undefined
StaticisStaticisStaticisStaticisStaticisStaticstringsChecks if two strings are identical, not considering empty spaces. Throws and exception if strings do not match.
Statictype
Utility methods to check preconditions.