kaven-basic - v6.0.0
    Preparing search index...

    Function SplitStringByNewline

    • Splits a given string into an array of substrings based on newline characters. If the input is undefined, the function returns undefined.

      Parameters

      • data: string

        The string to be split by newline characters. Can be undefined.

      Returns string[]

      An array of substrings if the input is a string, or undefined if the input is undefined.

      1.0.8

      2025-06-18

    • Splits a given string into an array of substrings based on newline characters. If the input is undefined, the function returns undefined.

      Parameters

      • data: undefined

        The string to be split by newline characters. Can be undefined.

      Returns undefined

      An array of substrings if the input is a string, or undefined if the input is undefined.

      1.0.8

      2025-06-18