mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
d41d477e22
Add two helper functions to improve code clarity and maintainability: - set_check_type: Checks if a value is a Set and raises an error if not - set_is_set: Checks if a value is a Set and returns a boolean result Update all relevant methods to use these helper functions, reducing code duplication and centralizing type checking logic.