is-number

PyPI GitHub Actions - CI GitHub Actions - pre-commit Codecov Community FAQ Q&A StackOverflow Gitter chat

A Python library to determine if something is a number.

Installation

pip install is-number

Usage

>>> from is_number import is_number
>>> is_number(10)
True
>>> is_number("hello")
False