Skip to main content

is_multi_edit_tool_name

Function is_multi_edit_tool_name 

Source
pub fn is_multi_edit_tool_name(name: &str) -> bool
Expand description

Returns true if name names the MultiEdit tool — either the canonical "multi_edit" or the deprecated legacy "multiedit" spelling.

Pure predicate — no side effects, so it is safe for filtering, configuration validation, or UI rendering. At dispatch points that accept external input, use normalize_multi_edit_tool_name instead: it maps both spellings to the canonical name and emits the one-time deprecation warning when the legacy spelling is seen.