UNPKG

@tsclean/core

Version:

Plugin for API Rest Full development, based on Clean Architecture, IoC and Dependency Injection.

14 lines 860 B
export declare function flatten<T>(arr: T[]): T extends (infer R)[] ? R[] : T[]; export declare const isUndefined: (obj: any) => obj is undefined; export declare const isObject: (fn: any) => fn is object; export declare const isPlainObject: (fn: any) => fn is object; export declare const addLeadingSlash: (path?: string) => string; export declare const stripEndSlash: (path: string) => string; export declare const normalizePath: (path?: string) => string; export declare const isFunction: (val: any) => val is Function; export declare const isString: (fn: any) => fn is string; export declare const isConstructor: (fn: any) => boolean; export declare const isNil: (obj: any) => obj is null | undefined; export declare const isEmpty: (array: any) => boolean; export declare const isSymbol: (fn: any) => fn is symbol; //# sourceMappingURL=shared.utils.d.ts.map