@agnostack/verifyd
Version:
Please contact agnoStack via info@agnostack.com for any questions
94 lines • 5.3 kB
TypeScript
export function random(max?: number, min?: number): number;
export function nextRandom(max?: number, min?: number): any;
export function arrayRandom(_values: any, _max?: number): any[];
export function arrayRandomItem(_values: any): any;
export function isArray(value: any): boolean;
export function isSet(value: any): boolean;
export function isType(value: any, type: any): boolean;
export function isString(value: any): boolean;
export function isTypeEnhanced(value: any, type: any): boolean;
export function safeTrim(value: any): any;
export function isParseable(value: any, trim: any, matchQuoted: any): boolean;
export function safeParse(value: any, trim: any): any;
export function ensureString(string: any): string;
export function ensureStringOnly(string: any): string;
export function ensureStringAscii(string: any): string;
export function ensureStringClean(string: any): string;
export function ensureAlphaNumeric(string: any): string;
export function isNumericOnly(value: any): boolean;
export function isNumericNegatable(value: any): boolean;
export function ensureNumeric(string: any): number;
export function ensureNumericOnly(string: any): number;
export function ensureNumericNegatable(string: any): number;
export function ensureNumericConstrained(value: any, { min: _min, max: _max }?: {
min?: number | undefined;
max?: number | undefined;
}): number;
export function ensureArray(array?: any[]): any[];
export function ensureArraySet(arrayOrSet: any): any[];
export function arrayEmpty(array: any, disableEmptyString?: boolean): boolean;
export function arrayNotEmpty(array: any, disableEmptyString?: boolean): boolean;
export function findLastMatch(array: any, filterCallback?: (value: any) => any): any;
export function ensureObject(object: any): any;
export function objectEmpty(object: any): boolean;
export function objectNotEmpty(object: any): boolean;
export function nullable(object: any): any;
export function objectContainsAnyValue(object: any): boolean;
export function cleanObjectKeys(object: any, _removeKeyNames: any): {
[k: string]: any;
};
export function cleanObject(object: any, allowEmptyLeafs: any, isEmptyCallback: any): any;
export function stringNotEmptyOnly(stringable: any): boolean;
export function stringEmptyOnly(stringable: any): boolean;
export function stringNotEmpty(stringable: any): boolean;
export function stringEmpty(stringable: any): boolean;
export function compareNumber(number1?: number, number2?: number): number;
export function compareString(string1: any, string2: any): number;
export function compareEntryKeys([string1]: [any], [string2]: [any]): number;
export function objectToSortedString(object: any, separator?: string): string;
export function isHTML(string: any): any;
export function freeze(logMessage: any, object: any, type?: string): void;
export function replaceSpaces(string: any, replacement?: string): any;
export function zencase(string: any, replacement?: string): any;
export function dashcase(string: any): any;
export function undashcase(string: any, replacement?: string): string;
export function snakecase(string: any): any;
export function unsnakecase(string: any, replacement?: string): string;
export function uppercase(string: any): string;
export function lowercase(string: any, defaultValue?: string): string;
export function isLowercase(string: any): boolean;
export function slugify(string: any): string;
export function capitalize(string: any): string;
export function camelCase(string: any): string;
export function titleCase(_string: any, _overrides: any): any;
export function removeLeadingSlash(string: any): string;
export function removeLeadingTrailingQuotes(string: any): string;
export function removeTrailingSlash(string: any): string;
export function removeLeadingTrailingSlash(string: any): string;
export function ensureLeadingSlash(string: any): string;
export function ensureTrailingSlash(string: any): string;
export function ensureTrailingQuestion(string: any): any;
export function ensureExtension(string: any, extension: any): any;
export function wrappedEncode(basePath: any, _wrappingPath: any): string;
export function splitCommas(value: any): any[];
export function combineCommas(values: any): any[];
export function normalizeArray(input: any, separator?: string): any;
export function arrayToObject(arrayable: any, key: any): any;
export function isTrue(value: any, falsy: any): boolean;
export function isUndefinedOrTrue(value: any, falsy: any): boolean;
export function isBoolean(value: any): boolean;
export function getBaseDomain(baseUrl: any): any;
export function parseKeywords(keywordGroup: any, previous: any): string;
export function parseCommaGroups(commaGroups: any): any[];
export function parseKeywordGroups(keywordGroups: any): string;
export function querystringToParams(queryString: any): (URLSearchParams | {
[k: string]: string;
})[];
export function querystringToObject(queryString: any): URLSearchParams | {
[k: string]: string;
};
export function arrayIncludesAll(_values: any, comparison: any): boolean;
export function arraysMatch(array1: any, array2: any): boolean;
export function appendQuery(_basePath: any, queryString: any): string;
export function appendParams(basePath: any, params: any): string;
//# sourceMappingURL=display.d.ts.map