Function format_atom_string

Source
pub fn format_atom_string(atoms: &Option<Vec<String>>) -> String
Expand description

Formats a string representing atom names for use in constraints.

This function takes an optional vector of atom names and formats them into a string suitable for use in constraint definitions.

§Arguments

  • atoms - An Option<Vec> containing atom names.

§Returns

A String containing the formatted atom names, or an empty string if no atoms are provided.