isLastChild

A function to discriminate last index of an array.

Example

Params
paramDescriptionTypeDefault
arrArrayArray-
indexCurrent indexnumber-
Return
returnDescriptionTypeDefault
lastChildWhether the input index is last of the array.boolean-