count_books
The count_books function, given a string containing one or more Scripture references or a NormalizedReference object or a List of NormalizedReference objects, returns the int count of the books of the Bible included in the given reference(s).
Input#
The count_books function accepts a single argument of one of the following three types:
stringNormalizedReferenceList[NormalizedReference]
Output#
The count_books function returns an int greater than or equal to 0 that represents the number of books of the Bible contained in the given reference(s).
Examples#
String Input Example#
Code
Result
NormalizedReference Input Example#
Code
Result
List of NormalizedReferences Input Example#
Code
Result