Shorthand for is.factor
isfac(x)
x
Value to check.
logical indicator
isfac( factor( c( 'a', 'b', 'c' ) ) ) isfac(1)