Skip to main content

ddwaf_object_at_value

Function ddwaf_object_at_value 

Source
pub unsafe extern "C" fn ddwaf_object_at_value(
    object: *const ddwaf_object,
    index: usize,
) -> *const ddwaf_object
Expand description

Returns the object contained in the container at the given index.

@param object The container from which to extract the object. @param index The position of the required object within the container.

@return The requested object or NULL if the index is out of bounds or the object is not a container.