📘 Standard LibraryJS APIfunctions[F] checkFormatTypeSpecVersion: Latest (0.60.x)On this page[F] checkFormatTypeSpecfunction checkFormatTypeSpec(code, prettierConfig?): Promise<boolean> Check the given is correctly formatted. Parameters ParameterTypecodestringprettierConfig?Options Returns Promise<boolean> true if code is formatted correctly.