pub fn get_text_property<'ob>(
position: usize,
prop: Gc<ObjectType<'ob>>,
object: Gc<ObjectType<'ob>>,
env: &'ob mut Rt<Env<'_>>,
) -> Result<Gc<ObjectType<'ob>>>
Expand description
Return the value of POSITION’s property PROP, in OBJECT. OBJECT should be a buffer or a string; if omitted or nil, it defaults to the current buffer.
If POSITION is at the end of OBJECT, the value is nil, but note that buffer narrowing does not affect the value. That is, if the buffer is narrowed and POSITION is at the end of the narrowed buffer, the result may be non-nil.