Testing Site Testing Site

skip to navigation
skip to content

isobject 0.0.17

isobject(object) function - True if object is instance of some class

.. README generated with readmemako.py (github.com/russianidiot/readme-mako.py) and .README dotfiles (github.com/russianidiot-dotfiles/.README)

.. image:: https://img.shields.io/badge/Language-Python-blue.svg?style=plastic

.. image:: https://img.shields.io/pypi/pyversions/isobject.svg
:target: https://pypi.python.org/pypi/isobject

|

.. image:: https://codeclimate.com/github/russianidiot/isobject.py/badges/gpa.svg
:target: https://codeclimate.com/github/russianidiot/isobject.py

.. image:: https://landscape.io/github/russianidiot/isobject.py/master/landscape.svg?style=flat
:target: https://landscape.io/github/russianidiot/isobject.py

.. image:: https://scrutinizer-ci.com/g/russianidiot/isobject.py/badges/quality-score.png?b=master
:target: https://scrutinizer-ci.com/g/russianidiot/isobject.py/

.. image:: https://api.codacy.com/project/badge/Grade/ca2da58b20834cbd9428290011ef9a2e
:target: https://www.codacy.com/app/russianidiot/isobject-py



Install
```````


.. code:: bash




Usage
`````


.. code:: python

>>> from isobject import isobject

>>> isobject(obj)


Examples
````````


.. code:: python

>>> class CLS: pass

>>> isobject(CLS())
True

>>> isobject(CLS)
False

>>> isobject(0)
False


Feedback |github_follow| |github_issues|

.. |github_follow| image:: https://img.shields.io/github/followers/russianidiot.svg?style=social&label=Follow
:target: https://github.com/russianidiot

.. |github_issues| image:: https://img.shields.io/github/issues/russianidiot/isobject.py.svg
:target: https://github.com/russianidiot/isobject.py/issues
 
File Type Py Version Uploaded on Size
isobject-0.0.17.tar.gz (md5) Source 2017-08-13 1KB