• This takes a string and replaces '{string}' with the respected parameter. Also allows for passing an array in order to use '{n}' notation. Not limited to an array's indexes. For example, {length} is allowed. Based upon Crockford's supplant function.

    Returns

    Parameters

    • source: string
    • params: any[] | {
          [key: string]: any;
      }

    Returns string

Generated using TypeDoc