Function: documentation-stringp
documentation-stringp is a function defined in doc.c.
Signature
(documentation-stringp OBJECT)
Documentation
Return non-nil if OBJECT is a well-formed docstring object.
OBJECT can be either a string or a reference if it's kept externally.
Source Code
// Defined in /usr/src/emacs/src/doc.c
{
return (STRINGP (object)
|| FIXNUMP (object) /* Reference to DOC. */
|| (CONSP (object) /* Reference to .elc. */
&& STRINGP (XCAR (object))
&& FIXNUMP (XCDR (object)))
? Qt : Qnil);
}