Function is_id_taken
Source pub fn is_id_taken(array: &[Value], id_field: &str, id_value: i64) -> bool
Expand description
Check if an ID is already taken in a config array
§Arguments
array - Array of configuration items
id_field - Name of the ID field (e.g., “DSRC_ID”, “ATTR_ID”)
id_value - ID value to check
§Returns
true if ID is taken, false otherwise