Checks whether the provided object is a valid dockerfile
class object.
See also
dockerfile()
for creating a dockerfile
object &
check_dockerfile()
for ensuring an object is a dockerfile
(with error)
Other dockerfile core functions:
add_dockerfile_line()
,
check_dockerfile()
,
dockerfile()
,
print.dockerfile()
Examples
df <- dockerfile()
is_dockerfile(df)
#> [1] TRUE
is_dockerfile(list())
#> [1] FALSE