@technobuddha/library
Version:
A large library of useful functions
12 lines (11 loc) • 401 B
TypeScript
import { type IndentOptions } from './indent.ts';
/**
* Determine the indentation level of text
* @param input - The indented text
* @param options - see {@link IndentOptions}
* @defaultValue indenter space
* @returns The minimum amount of indentation on each line
* @group String
* @category Analysis
*/
export declare function getIndent(input: string, { indenter }?: IndentOptions): number;