import { memoizeJ } from "@thi.ng/memoize/memoizej" ; import type { Stringer } from "./api.js" ; /**
 * Returns a  Stringer which wrap inputs with given `pad` string on
 * both sides.
  export const wrap = memoizeJ ( ( pad ) => ( x ) => pad + x + pad ) ;