Function

judo_next

Next array element.

Since v1.0
judo_value *judo_next(
judo_value *value)

Parameters πŸ”—

value in

Element of an array.

Return Value πŸ”—

The next element in an array or NULL if value is NULL, the last element, or not an element of an array.

Discussion πŸ”—

Retrieves the next element of an array from value, which must be an element of an array. If value is NULL or it’s the last element of the array, then NULL is returned. To ensure that value is always an element of an array, only pass elements to this function that were retrieved from either judo_first or judo_next.