Prev
-
Next
-
Down
SDMetrics - the UML design measurement tool
Contents
>
8 Defining Custom Design Metrics and Rules
>
8.5 Expression Terms
>
8.5.4 Condition Expressions
> 8.5.4.2 Boolean Functions
8.5.4.2 Boolean Functions
The following Boolean functions operating on strings are available:
startswithcapital(s)
- true if string s starts with a capital letter or is empty
startswithlowercase(s)
- true if string s starts with a lower case letter or is empty
islowercase(s)
- true if all letters in string s are lower case or if s is empty
There is one Boolean function operating on sets:
isunique(s)
- true if s is a regular set or if s is a multiset that contains no element more than once.
Prev
Up
Next
Section 8.5.4.1 "Relational Operators"
Contents
Section 8.5.4.3 "Logical Operators"