Is Positive
Checks if the input value is a positive number (greater than zero).
Purpose
Simple boolean condition for numeric validation and control flow.
Input Format
Accepts:
- Integer or float value
- String representation of number
Output Format
Returns boolean:
Trueif value > 0Falseotherwise
Examples
Input: 5 Output: True
Input: -3 Output: False
Input: "42" Output: True