Hierarchy

  • expand
  • Expand replaces ${var} or $var in the string based on the mapping function. For example, os.ExpandEnv is equivalent to [os.Expand](s, [os.Getenv]).

    Parameters

    • s: string
    • mapping: ((_arg0) => string)
        • (_arg0): string
        • Parameters

          • _arg0: string

          Returns string

    Returns string

Generated using TypeDoc