UNPKG

nd-common

Version:

15 lines (14 loc) 566 B
export declare class CommonService { constructor(); /** * Determines if the source string contains any strings found in given substring array. * @param source The source string. * @param substrings The substring array to check the source against. */ static stringContainsAny(source: string, substrings: Array<string>): boolean; /** * Determine if the given value is null, empty or undefined. * @param value The value to be inspected. */ static isNullOrEmptyOrUndefined(value: string): boolean; }