Constrain

JSON →
library 0.10.0 ·ruby
verified Jun 19, 2026

Allows checking if an object matches a class expression, typically used to validate method parameter types dynamically.