• Saves a string to dynamic properties, optionally clearing old properties first and splitting the string into chunks.

    Parameters

    • string: string

      The string to save to dynamic properties.

    • propertyName: string

      The name of the property to save the string under.

    • clearOldProperties: boolean = true

      Whether to clear old properties before saving the new string. Defaults to true.

    • chunkSize: number | bigint = 32760

      The size of each chunk to split the string into. Defaults to 32760.

    Returns void

    If propertyName is not a string.

    If clearOldProperties is not a boolean.