Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "elementAtOrNull"

Index

Functions

Functions

elementAtOrNull

  • elementAtOrNull<T>(this: Sequence<T>, index: number): T | null
  • Returns the element at position index (zero-based) or null if index is out of bounds.

    Type parameters

    • T

    Parameters

    Returns T | null