3 lines
94 B
Text
3 lines
94 B
Text
defmodule PalindromeDetection do
|
|
def is_palindrome(str), do: str == String.reverse(str)
|
|
end
|