findAll
Get all chapters.
Params:
chapters.findAll(options?: GetChapterOptions)
Param | Type |
---|---|
options | GetChapterOptions |
Example:
quran.v4.chapters.findAll();
findById
Get chapter by id.
Params:
chapters.findById(id: ChapterId, options?: GetChapterOptions)
Param | Type | Description |
---|---|---|
id | ChapterId (m) | minimum 1, maximum 114 |
options | GetChapterOptions |
Example:
quran.v4.chapters.findById('1');
quran.v4.chapters.findById('114');
findInfoById
Get chapter info by id.
Params:
chapters.findInfoById(id: ChapterId, options?: GetChapterOptions)
Param | Type | Description |
---|---|---|
id | ChapterId (m) | minimum 1, maximum 114 |
options | GetChapterOptions |
Example:
quran.v4.chapters.findInfoById('1');
quran.v4.chapters.findInfoById('114');
Last updated on December 2, 2022