MCPcopy Create free account
hub / github.com/TheAlgorithms/Rust / is_palindrome

Function is_palindrome

src/string/palindrome.rs:15–28  ·  view source on GitHub ↗

A module for checking if a given string is a palindrome. Checks if the given string is a palindrome. A palindrome is a sequence that reads the same backward as forward. This function ignores non-alphanumeric characters and is case-insensitive. # Arguments `s` - A string slice that represents the input to be checked. # Returns `true` if the string is a palindrome; otherwise, `false`.

(s: &str)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

nextMethod · 0.45

Tested by

no test coverage detected