the editable site (validation-lab)
This commit is contained in:
commit
3ac81d5a52
13454 files changed
+2227005
No files matched your search
+12
@@ -0,0 +1,12 @@
|
||||
/**
|
||||
Get the visual width of the widest line in a string - the number of columns required to display it.
|
||||
|
||||
@example
|
||||
```
|
||||
import widestLine from 'widest-line';
|
||||
|
||||
widestLine('古\n\u001B[1m@\u001B[22m');
|
||||
//=> 2
|
||||
```
|
||||
*/
|
||||
export default function widestLine(string: string): number;
|
||||
Reference in new issue
Block a user