ensureTermIsValidProperty

Ensures term is one of the stream_property/2 shapes (input, output, alias(_), type(_), eof_action(_), reposition(_)), whether or not this implementation actually reports it.

Throws

(stream_property) if term is none of the above.