Skip to contents

Check if an object is a single number

Usage

is_number(x)

Arguments

x

An object to check.

Value

A logical value indicating whether x is a single number.