@alanscodelog/utils
    Preparing search index...

    Function stripIndent

    • Trims extra indents from a string.

      Parameters

      • str: string
      • __namedParameters: { count?: number; tabs?: boolean } = {}
        • Optionalcount?: number

          Remove a specific amount of indents (works like unindenting in editors). Pass Infinity to remove all indents.

        • Optionaltabs?: boolean

          Whether to unindent based on tabs (default) or spaces.

      Returns string