There is a patter or code improvment for the following code?. Im currently working in Angular with Typescript.
private static isMatch(params: any): boole