@bytebury/sauce - v1.4.0
    Preparing search index...

    Function trim

    • Trims the whitespace from the beginning and the end. This is an alias for .trim(). Useful for when you're mapping over lists.

      Parameters

      • text: string

      Returns string

      [' hello ', ' world '].map(trim); // ['hello', 'world'];