is_count function

Checks if an object is a positive integer.

Checks if an object is a positive integer.

is_count(x)

Arguments

  • x: object to be tested.

Returns

TRUE or FALSE depending on whether its argument is a positive integer or not.

  • Maintainer: Ryszard Szymanski
  • License: GPL-3
  • Last published: 2025-03-23