Function
judo_membfirst
First object member.
Since v1.0
judo_member *judo_membfirst(
judo_value *value)
Parameters 🔗
| value | in | Object value. |
Return Value 🔗
The first member of value or NULL if value is NULL, not an object, or an empty object.
Discussion 🔗
The judo_membfirst function retrieves the first member of value, which must be an object. If value is NULL, not an object, or is an empty object, then NULL is returned.
Check if value is an object with judo_gettype and non-empty with judo_len.