Skip to content

feat(builtin): add less_than_equal (<=) built-in function (#11)#14

Merged
ali77gh merged 2 commits into
ali77gh:devfrom
HaamedKhosravii:feat/less-than-equal-builtin-function
Oct 10, 2025
Merged

feat(builtin): add less_than_equal (<=) built-in function (#11)#14
ali77gh merged 2 commits into
ali77gh:devfrom
HaamedKhosravii:feat/less-than-equal-builtin-function

Conversation

@HaamedKhosravii

Copy link
Copy Markdown

This commit introduces the less_than_equal built-in function, which performs a less-than-or-equal-to (<=) comparison between two numeric values.

  • Supports comparisons between Int and Float types
  • Returns a DataType::Bool result
  • Returns a runtime error for non-numeric types

This commit introduces the `less_than_equal` built-in function, which performs
a less-than-or-equal-to (<=) comparison between two numeric values.

- Supports comparisons between Int and Float types
- Returns a `DataType::Bool` result
- Returns a runtime error for non-numeric types
@HaamedKhosravii

Copy link
Copy Markdown
Author

Hey @ali77gh

I’ve opened PR #11 to add the less_than_equal (<=) built-in function.
It supports both Int and Float types and returns a DataType::Bool result.

Could you please review it when you have a chance?

This commit introduces the `less_than_equal` built-in function, which performs
a less-than-or-equal-to (<=) comparison between two numeric values.

- Supports comparisons between Int and Float types
- Returns a `DataType::Bool` result
- Returns a runtime error for non-numeric types
@ali77gh ali77gh merged commit de7ee34 into ali77gh:dev Oct 10, 2025
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants