UNPKG

quran-meta

Version:

Library with meta data and functionality related to Holy Quran

14 lines (13 loc) 524 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.getRubAlHizbByAyahId = getRubAlHizbByAyahId; var _findRubAlHizbByAyahId = require("./findRubAlHizbByAyahId.cjs"); var _getRubAlHizb = require("./getRubAlHizb.cjs"); var _validation = require("./validation.cjs"); function getRubAlHizbByAyahId(ayahId) { (0, _validation.checkValidAyahId)(ayahId); const quarterIndex = (0, _findRubAlHizbByAyahId.findRubAlHizbByAyahId)(ayahId); return (0, _getRubAlHizb.getRubAlHizb)(quarterIndex); }