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 : *

    Value to transform to an array.

    Returns

    Array

    Array created from data.