![]() |
The negative?() is an inbuilt function in Ruby returns boolean value true if rational number is less than zero otherwise false.
Example 1:
Output: true Example 2:
Output: false |
Reffered: https://www.geeksforgeeks.org
Ruby |
Related |
---|
![]() |
![]() |
![]() |
![]() |
![]() |
Type: | Geek |
Category: | Coding |
Sub Category: | Tutorial |
Uploaded by: | Admin |
Views: | 7 |