⚠️ WarningNightly documentation ahead. Switch to the stable editor documentation.
Module

utils/first

@ckeditor/ckeditor5-utils/src/first

module

Filtering

Functions

  • first( iterable ) → *

    Returns first item of the given iterable.

    Parameters

    iterable : Iterable.<*>

    Returns

    *