The library currently provides types.integer for validating integer values, and isInteger as a utility…
The library currently provides types.integer for validating integer values, and isInteger as a utility…: a task in LegoFlow-SWE (Harbor dataset). where width should accept only valid float values (non-NaN, non-integer) and height should accept only finite numbers (non-NaN, non-Infinity)…
The task
where `width` should accept only valid float values (non-NaN, non-integer) and `height` should accept only finite numbers (non-NaN, non-Infinity). Currently, the only option is to use `types.number` with custom validation, which is verbose and error-prone.
Part of Lego-X/LegoFlow-SWE.