Module

utils/toarray

@ckeditor/ckeditor5-utils/src/toarray

module

Filtering

Functions

  • toArray( data ) → Array

    Transforms any value to an array. If the provided value is already an array, it is returned unchanged.

    Parameters

    data : *

    The value to transform to an array.

    Returns

    Array

    An array created from data.