The is_number method returns whether the value is a number.
is_number
is_number()
(Boolean). Returns true if the value is a number, false otherwise.
true
false