quran-meta
Version:
Library with meta data and functionality related to Holy Quran
8 lines (7 loc) • 316 B
TypeScript
import { SurahAyahSegment } from "./types";
/**
* Turns String of type "x:y" or "x:y1-y2" to array [x,y] or [x,[y1,y2]] respectively
* @param str - String of type "x:y" or "x:y1-y2"
* @returns array [x,y] or [x,[y1,y2]] respectively
*/
export declare function ayahStringSplitter(str: string): SurahAyahSegment;