count_chapters
The count_chapters
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 chapters included in the given reference(s).
#
InputThe count_chapters
function accepts a single argument of one of the following three types:
string
NormalizedReference
List[NormalizedReference]
#
OutputThe count_chapters
function returns an int
greater than or equal to 0 that represents the number of chapters contained in the given reference(s).
#
Examples#
String Input ExampleCode
Result
#
NormalizedReference Input ExampleCode
Result
#
List of NormalizedReferences Input ExampleCode
Result