mirror of
https://github.com/harttle/liquidjs.git
synced 2026-09-17 13:20:41 -07:00
## [7.2.1](https://github.com/harttle/liquidjs/compare/v7.2.0...v7.2.1) (2019-02-22)
### Bug Fixes
* default length for truncate and truncatewords ([56c7992](https://github.com/harttle/liquidjs/commit/56c7992))
22 lines
1.2 KiB
TypeScript
22 lines
1.2 KiB
TypeScript
export declare function isString(value: any): boolean;
|
|
export declare function isFunction(value: any): boolean;
|
|
export declare function promisify<T1, T2>(fn: (arg1: T1, cb: (err: Error | null, result: T2) => void) => void): (arg1: T1) => Promise<T2>;
|
|
export declare function promisify<T1, T2, T3>(fn: (arg1: T1, arg2: T2, cb: (err: Error | null, result: T3) => void) => void): (arg1: T1, arg2: T2) => Promise<T3>;
|
|
export declare function stringify(value: any): string;
|
|
export declare function create<T1 extends object, T2 extends T1 = T1>(proto: T1): T2;
|
|
export declare function isNil(value: any): boolean;
|
|
export declare function isArray(value: any): boolean;
|
|
export declare function isError(value: any): boolean;
|
|
export declare function forOwn<T>(object: {
|
|
[key: string]: T;
|
|
} | undefined, iteratee: ((val: T, key: string, obj: {
|
|
[key: string]: T;
|
|
}) => boolean | void)): {
|
|
[key: string]: T;
|
|
};
|
|
export declare function last<T>(arr: T[]): T;
|
|
export declare function last(arr: string): string;
|
|
export declare function isObject(value: any): boolean;
|
|
export declare function range(start: number, stop?: number, step?: number): number[];
|
|
export declare function padStart(str: any, length: number, ch?: string): any;
|