UNPKG

closingbracket

Version:

Find in a string a closing bracket for an opening bracket. The search function will start from a specific start index in the string, identifies the start index of the next corresponding opening bracket and finds the corresponding closing bracket provided

4 lines (2 loc) 95 B
// -------NPM Export Variable: BracketHandler--------------- module.exports = BracketHandler;