| 1 |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| 2 |
<html> |
| 3 |
<!-- Created by GNU Texinfo 6.7, http://www.gnu.org/software/texinfo/ --> |
| 4 |
<head> |
| 5 |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
| 6 |
<title>packagep (ANSI and GNU Common Lisp Document)</title> |
| 7 |
|
| 8 |
<meta name="description" content="packagep (ANSI and GNU Common Lisp Document)"> |
| 9 |
<meta name="keywords" content="packagep (ANSI and GNU Common Lisp Document)"> |
| 10 |
<meta name="resource-type" content="document"> |
| 11 |
<meta name="distribution" content="global"> |
| 12 |
<meta name="Generator" content="makeinfo"> |
| 13 |
<link href="index.html" rel="start" title="Top"> |
| 14 |
<link href="Packages-Dictionary.html" rel="up" title="Packages Dictionary"> |
| 15 |
<link href="_002apackage_002a.html" rel="next" title="*package*"> |
| 16 |
<link href="package_002dused_002dby_002dlist.html" rel="prev" title="package-used-by-list"> |
| 17 |
<style type="text/css"> |
| 18 |
<!-- |
| 19 |
a.summary-letter {text-decoration: none} |
| 20 |
blockquote.indentedblock {margin-right: 0em} |
| 21 |
div.display {margin-left: 3.2em} |
| 22 |
div.example {margin-left: 3.2em} |
| 23 |
div.lisp {margin-left: 3.2em} |
| 24 |
kbd {font-style: oblique} |
| 25 |
pre.display {font-family: inherit} |
| 26 |
pre.format {font-family: inherit} |
| 27 |
pre.menu-comment {font-family: serif} |
| 28 |
pre.menu-preformatted {font-family: serif} |
| 29 |
span.nolinebreak {white-space: nowrap} |
| 30 |
span.roman {font-family: initial; font-weight: normal} |
| 31 |
span.sansserif {font-family: sans-serif; font-weight: normal} |
| 32 |
ul.no-bullet {list-style: none} |
| 33 |
--> |
| 34 |
</style> |
| 35 |
|
| 36 |
|
| 37 |
</head> |
| 38 |
|
| 39 |
<body lang="en"> |
| 40 |
<span id="packagep"></span><div class="header"> |
| 41 |
<p> |
| 42 |
Next: <a href="_002apackage_002a.html" accesskey="n" rel="next">*package*</a>, Previous: <a href="package_002dused_002dby_002dlist.html" accesskey="p" rel="prev">package-used-by-list</a>, Up: <a href="Packages-Dictionary.html" accesskey="u" rel="up">Packages Dictionary</a> </p> |
| 43 |
</div> |
| 44 |
<hr> |
| 45 |
<span id="packagep-_005bFunction_005d"></span><h4 class="subsection">11.2.27 packagep [Function]</h4> |
| 46 |
|
| 47 |
<p><code>packagep</code> <i>object</i> ⇒ <i>generalized-boolean</i> |
| 48 |
</p> |
| 49 |
<span id="Arguments-and-Values_003a_003a-199"></span><h4 class="subsubheading">Arguments and Values::</h4> |
| 50 |
|
| 51 |
<p><i>object</i>—an <i>object</i>. |
| 52 |
</p> |
| 53 |
<p><i>generalized-boolean</i>—a <i>generalized boolean</i>. |
| 54 |
</p> |
| 55 |
<span id="Description_003a_003a-263"></span><h4 class="subsubheading">Description::</h4> |
| 56 |
|
| 57 |
<p>Returns <i>true</i> if <i>object</i> is of <i>type</i> <b>package</b>; |
| 58 |
otherwise, returns <i>false</i>. |
| 59 |
</p> |
| 60 |
<span id="Examples_003a_003a-181"></span><h4 class="subsubheading">Examples::</h4> |
| 61 |
<div class="example"> |
| 62 |
<pre class="example"> (packagep *package*) ⇒ <i>true</i> |
| 63 |
(packagep 'common-lisp) ⇒ <i>false</i> |
| 64 |
(packagep (find-package 'common-lisp)) ⇒ <i>true</i> |
| 65 |
</pre></div> |
| 66 |
|
| 67 |
<span id="Notes_003a_003a-135"></span><h4 class="subsubheading">Notes::</h4> |
| 68 |
|
| 69 |
<div class="example"> |
| 70 |
<pre class="example"> (packagep <i>object</i>) ≡ (typep <i>object</i> 'package) |
| 71 |
</pre></div> |
| 72 |
|
| 73 |
|
| 74 |
|
| 75 |
|
| 76 |
</body> |
| 77 |
</html> |