@thi.ng/strings
Version:
Various string formatting & utility functions
9 lines • 303 B
TypeScript
/**
* Yields iterator of characters in the closed `[from,to]` interval. Uses
* reverse ordering if `to` < `from`.
*
* @param from -
* @param to -
*/
export declare function charRange(from: string | number, to: string | number): Generator<string, void, unknown>;
//# sourceMappingURL=range.d.ts.map