is_palindrome: Check if a number is a palindrome, i.e. it remains the same...

Description Usage Arguments Value Examples

Description

Check if a number is a palindrome, i.e. it remains the same whether read from left to right or right to left.

Usage

1

Arguments

x

a numeric value

Value

TRUE if it is a palindrome, FALSE otherwise

Examples

1
euler:::is_palindrome(1001)

nathaneastwood/euler documentation built on June 18, 2019, 11:20 a.m.