@webdeveric/utils
    Preparing search index...

    Function trimStart

    • Remove char from the start of str, or whitespace if char isn't provided.

      Parameters

      • str: string
      • Optionalchar: string

      Returns string

      trimStart('   hello'); // 'hello'
      trimStart('///hello', '/'); // 'hello'