Check the type of spec document

spec_type(path)

Arguments

path

file location as a string

Value

returns string indicating the type of spec document