Skip to content

Latest commit

 

History

History
35 lines (22 loc) · 716 Bytes

File metadata and controls

35 lines (22 loc) · 716 Bytes

is_string

tests PyPI - Downloads

A small Python library to determine if something is a string

Installation

pip install is-string

Usage

from is_string import is_string

print(is_string('1')) #True
print(is_string(1))   #False

or

import is_string

print(is_string.is_string('1')) #True
print(is_string.is_string(1))   #False

Credits

This project was inspired by the work done by Jacob Tomlinson, especially the brilliant Python library is-number