# Is\_integer predicate?

**URL:** <https://swi-prolog.discourse.group/t/is-integer-predicate/899>\
**Category:** Help!\
**Created:** [July 2, 2019, 4:01pm UTC](https://swi-prolog.discourse.group/t/is-integer-predicate/899 "2019-07-02T16:01:08Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![EricGT](https://avatars.discourse-cdn.com/v4/letter/e/f1d935/32.png) [@EricGT](https://swi-prolog.discourse.group/u/EricGT)\
**Post date:** [July 2, 2019, 6:17pm UTC](https://swi-prolog.discourse.group/t/is-integer-predicate/899/11 "2019-07-02T18:17:32Z")

</div>

> [@prodog](#):
>
> looking things up in the docs.

While the docs are my first stop for info, baring that I look for examples in the SWI-Prolog source code at [GitHub](https://github.com/SWI-Prolog) as also noted by Jan.

At GitHub to search the code you have to go into a repository, e.g. [swip-devel](https://github.com/SWI-Prolog/swipl-devel), [swish](https://github.com/SWI-Prolog/swish) or one of the others.

Once in a repository then use search at the upper left of the page. I typically search just swip-devel.

 ![image](https://global.discourse-cdn.com/free1/uploads/swiprolog/original/1X/484e3b0687d7aa103fbfb1a03ae1e98ccfd64982.png)

Searching for `round` returns many [hits](https://github.com/SWI-Prolog/swipl-devel/search?q=round&unscoped_q=round)

Not all of the hits are Prolog source code but it is real working code.

That is how I learned to use [setup\_call\_cleanup](https://swi-prolog.discourse.group/t/using-call-cleanup-2-trying-to-understand-when-to-use-it-or-others-predicates-of-the-same-intention/657/6)

---

_[View the full topic](https://swi-prolog.discourse.group/t/is-integer-predicate/899)._
