feat: add `symbol/match`
Resolves #8478
Description
This pull request adds the new symbol/match package as described in RFC #8478.
The implementation is based on the structure and conventions of the existing symbol packages (e.g., symbol/iterator, symbol/has-instance, etc.). The package exports Symbol.match when available, updates documentation and examples accordingly, and includes the required copyright updates for 2025.
Related Issues
- #8478
Questions
No.
Other
No additional notes.
Checklist
- [x] Read, understood, and followed the contributing guidelines.
AI Assistance
- [ ] Yes
- [x] No
Hello! Thank you for your contribution to stdlib.
We noticed that the contributing guidelines acknowledgment is missing from your pull request. Here's what you need to do:
-
Please read our contributing guidelines.
-
Update your pull request description to include this checked box:
- [x] Read, understood, and followed the [contributing guidelines](https://github.com/stdlib-js/stdlib/blob/develop/CONTRIBUTING.md)
This acknowledgment confirms that you've read the guidelines, which include:
- The developer's certificate of origin
- Your agreement to license your contributions under the project's terms
We can't review or accept contributions without this acknowledgment.
Thank you for your understanding and cooperation. We look forward to reviewing your contribution!
Coverage Report
| Package | Statements | Branches | Functions | Lines |
|---|---|---|---|---|
| symbol/match | $\color{green}100/100$ $color{green}+100.00%$ |
$\color{red}2/3$ $color{green}+66.67%$ |
$\color{green}0/0$ $color{green}+100.00%$ |
$\color{green}100/100$ $color{green}+100.00%$ |
The above coverage report was generated for the changes in this PR.
@kgryte All requested changes have been applied. Kindly review when you get a chance.