@agnostack/next-zcli
Version:
Please contact agnoStack via info@agnostack.com for any questions
19 lines (18 loc) • 933 B
TypeScript
export function getGUID(): any;
export function getInteger(): any;
export function isType(value: any, type: any): boolean;
export function ensureString(string: any): string;
export function ensureStringOnly(string: any): string;
export function ensureArray(array?: any[]): any[];
export function ensureObject(object: any): any;
export function objectEmpty(object: any): boolean;
export function objectNotEmpty(object: any): boolean;
export function cleanObject(object: any): any;
export function cleanURL(string: any): string;
export function removeLeadingSlash(string: any): string;
export function removeTrailingSlash(string: any): string;
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 isTrue(value: any, falsy: any): boolean;