All files / src/utils clausePrettyPrint.ts

83.33% Statements 5/6
50% Branches 1/2
100% Functions 1/1
83.33% Lines 5/6
1 2 3 4 5 6 7 8 9 10  1x   1x   1x     1x  
 // TODO
import stringifyWithFnName from "./stringifyWithFnName";
 
export default function clausePrettyPrint( clause ) {
  if ( !clause ) {
    Ireturn "";
  }
  return stringifyWithFnName( clause, null, 2 );
}