SlicePipe

Stable

Pipe

What it does

Creates a new List or String containing a subset (slice) of the elements.

How to use

array_or_string_expression | slice:start[:end]

NgModule

Description

exported from common/index defined in common/src/pipes/slice_pipe.ts