Options
All
  • Public
  • Public/Protected
  • All
Menu

Module unWrap

Index

References

Functions

References

Renames and re-exports __type

Functions

  • unWrap(inner: string, wrapper: string): string
  • unWrap a string

    since

    5.14.0

    Parameters

    • inner: string
    • wrapper: string

      the wrapped str will be added to inner

      unWrap("'value'", "'") => "value"
      unWrap("value", "'") => "value"

    Returns string