Skip to main content

Number Checks

Check if a number has specific properties. These blocks return true or false.

Property Check Block

Properties

  • Even: Divisible by 2.
  • Odd: Not divisible by 2.
  • Prime: Divisible only by 1 and itself.
  • Whole: No decimal part.
  • Positive: Greater than 0.
  • Negative: Less than 0.
  • Divisible by: Checks if the number is divisible by a specific value.

Example

Check if a number is even: