matching-paren

matching-paren is a built-in function in `C source code'.

(matching-paren CHARACTER)

Return the matching parenthesis of CHARACTER, or nil if none.