Skip to content

Numbers: () is (property)

jolivepetrus edited this page Oct 29, 2017 · 5 revisions

This block is a Number block, an Operator block, and a Reporter block, that check if a numeric operand satisfies a particular property.

This block can take the following properties:

  • even: the numeric operand is an even number?
  • odd: the numeric operand is an odd number?
  • prime: the numeric operand is a prime number?
  • whole: the numeric operand is a whole number?
  • positive: the numeric operand is a positive number?
  • negative: the numeric operand is a negative number?
  • divisible by: the numeric operand is a divisible by the second operand number?

Shape

Clone this wiki locally