Prelude API
    Preparing search index...

    Function of

    • Splits a string into an array of lines. This function handles different line endings by splitting on newline characters.

      Parameters

      • value: string

        The string to split into lines

      Returns string[]

      An array of string lines

      of('hello\nworld') // ['hello', 'world']
      of('one line') // ['one line']