UNPKG

@subsocial/utils

Version:
10 lines (9 loc) 334 B
export declare const isStr: (x: any) => x is string; export declare const isEmptyStr: (x: any) => boolean; export declare const nonEmptyStr: (x?: any) => x is string; export declare const asString: (x: { toString: () => string; }) => string; export declare const asStringArray: (x: { toString: () => string; }[]) => string[];