org-entry-get

org-entry-get is a compiled Lisp function in `org.el'.

(org-entry-get POM PROPERTY &optional INHERIT LITERAL-NIL)

Get value of PROPERTY for entry or content at point-or-marker POM.
If INHERIT is non-nil and the entry does not have the property,
then also check higher levels of the hierarchy.
If INHERIT is the symbol `selective', use inheritance only if the setting
in `org-use-property-inheritance' selects PROPERTY for inheritance.
If the property is present but empty, the return value is the empty string.
If the property is not present at all, nil is returned.

Return the value as a string.

If LITERAL-NIL is set, return the string value "nil" as a string,
do not interpret it as the list atom nil. This is used for inheritance
when a "nil" value can supersede a non-nil value higher up the hierarchy.