This shows you the differences between two versions of the page.
cl:functions:standard-char-p [2019/11/11 05:00] |
cl:functions:standard-char-p [2019/12/15 08:00] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Function STANDARD-CHAR-P ====== | ||
+ | |||
+ | ====Syntax==== | ||
+ | * **standard-char-p** //character// → //generalized-boolean// | ||
+ | |||
+ | ====Arguments and Values==== | ||
+ | * //character// - a //[[CL:Glossary:character]]//. | ||
+ | * //generalized-boolean// - a //[[CL:Glossary:generalized boolean]]//. | ||
+ | |||
+ | ====Description==== | ||
+ | Returns //[[CL:Glossary:true]]// if //character// is of //[[CL:Glossary:type]]// **[[CL:Types:standard-char]]**; otherwise, returns //[[CL:Glossary:false]]//. | ||
+ | |||
+ | ====Examples==== | ||
+ | <blockquote> | ||
+ | (standard-char-p #\Space) <r>//[[CL:Glossary:true]]// </r> | ||
+ | (standard-char-p #\~) <r>//[[CL:Glossary:true]]// </r> | ||
+ | |||
+ | ;; This next example presupposes an implementation in which #\Bell is a defined character. | ||
+ | (standard-char-p #\Bell) <r>//[[CL:Glossary:false]]//</r> | ||
+ | </blockquote> | ||
+ | |||
+ | ====Affected By==== | ||
+ | None. | ||
+ | |||
+ | ====Exceptional Situations==== | ||
+ | Should signal an error of type type-error if //character// is not a //[[CL:Glossary:character]]//. | ||
+ | |||
+ | ====See Also==== | ||
+ | None. | ||
+ | |||
+ | ====Notes==== | ||
+ | None. | ||
+ | |||