Total Complexity | 2 |
Complexity/F | 1 |
Lines of Code | 10 |
Function Count | 2 |
Duplicated Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | export class IsContactEmpty { |
||
2 | public isSatisfiedBy( |
||
3 | firstName?: string, |
||
4 | lastName?: string, |
||
5 | company?: string |
||
6 | ): boolean { |
||
7 | return !firstName && !lastName && !company; |
||
8 | } |
||
9 | } |
||
10 |