Expand description
String utilities for error messages and suggestions.
This module provides functions for generating helpful suggestions in error messages, such as “did you mean X?” when a user typos a label.
Functions§
- find_
similar - Finds the most similar string from a list of candidates.
- format_
suggestion - Formats a suggestion hint for error messages.
- format_
suggestions - Formats a list of suggestions as a hint.