To me it looks like it jams in something. The top arm spring loaded to release with a button push. There also appears to be a point underneath. I just can't work out how it is used.
is it to hold a door open, not quite as a Wedge per se but that little arm clicks down when the door has passed over it and locks into place so it can`t be closed again, until you reset it.