powered by
Check if a format is supported
is_valid_format(x, stop_otherwise = FALSE)
TRUE if x is NULL, a supported format string, or a function; FALSE otherwise.
TRUE
x
NULL
FALSE
either format string or an object returned by sprintf_format
sprintf_format
logical, if x is not a format should an error be thrown
is_valid_format("xx.x") is_valid_format("fakeyfake")
Run the code above in your browser using DataLab