pig-dam-core
Version:
Library that should be included in every Pig DAM project we build
20 lines • 607 B
TypeScript
/**
* Date: 7/9/2019
* Time: 9:10 PM
* @license MIT (see project's LICENSE file)
*
*/
import { CompareResultType } from "./types";
/**
* Compares compareAny object types with handling for undefined objects.
*/
export declare function compareAny(value1: any, value2: any, { ignoreCase }?: {
ignoreCase?: boolean | undefined;
}): CompareResultType;
/**
* Compares two strings
*/
export declare function compareString(s1: string | null | undefined, s2: string | null | undefined, { ignoreCase }?: {
ignoreCase?: boolean | undefined;
}): CompareResultType;
//# sourceMappingURL=compare.d.ts.map