identity_iota_interaction::json

Function check_valid_homogeneous

pub fn check_valid_homogeneous(val: &Value) -> Result<(), IotaJsonValueError>
Expand description

Check via BFS The invariant is that all types at a given level must be the same or be empty, and all must be valid