pub fn is_palindrome(s: &str) -> bool
Expand description

Returns true if the given string is palindrome.

Examples

let yes = "abcba";
let no = "ABC";

assert_eq!(jabba_lib::jstring::is_palindrome(yes), true);
assert_eq!(jabba_lib::jstring::is_palindrome(no), false);