string-detect-indent
Version:
simple detect string indent
20 lines (17 loc) • 301 B
TypeScript
export interface IOptions {
/**
* no-break space
* \xa0
*/
includeNoBreakSpace?: boolean;
}
export declare function detectIndentLine(input: string, options?: IOptions): {
input: string;
indent: string;
body: string;
bool: boolean;
};
export {
detectIndentLine as default,
};
export {};