All files / src/walk wallWalker.ts

100% Statements 5/5
100% Branches 0/0
100% Functions 2/2
100% Lines 5/5
1 2 3 4 5 6 7 8 9 10 11 12  15x   90x         95x 95x    
export default function wallWalker( wallClause, walkFn ) {
  return {
    trailblaze: wallWalk,
    reconstruct: wallWalk,
  }
 
  function wallWalk( x, opts ) {
    var [ clause ] = wallClause.exprs;
    return walkFn( clause, x, opts );
  }
}