We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
includes? on String → char comparison — Using includes? to check for a single character creates overhead. Use direct comparison or index.
includes?
str.includes?("a")
There was an error while loading. Please reload this page.