📘 Standard LibraryJS APIfunctions[F] checkFormatCadlVersion: Next 🚧On this page[F] checkFormatCadlfunction checkFormatCadl(code, prettierConfig?): Promise<boolean> Parameters ParameterTypecodestringprettierConfig?Options Returns Promise<boolean> true if code is formatted correctly. Deprecated use checkFormatTypeSpec