import { NameValue } from './../types/name-value'; export class StringUtil { readonly ALL: string = 'All'; public doesNotContainAll(obj: NameValue): boolean { return !this.equalsIngoreCase(obj.name, this.ALL); } public equalsIngoreCase(str1: string, str2: string): boolean { return str1.toUpperCase() === str2.toUpperCase(); } } export const SU = new StringUtil();