I was looking for a function like assertBool(x) which basically does the same as assertLogical(x, len = 1). As far as I understand, there are such pendants for assertNumber(x) and assertString(x) which is basically assertNumeric(x, len = 1) and assertCharacter(x, len = 1).
I was looking for a function like
assertBool(x)
which basically does the same asassertLogical(x, len = 1)
. As far as I understand, there are such pendants forassertNumber(x)
andassertString(x)
which is basicallyassertNumeric(x, len = 1)
andassertCharacter(x, len = 1)
.Would that be something worth adding?