Skip to content

Latest commit

 

History

History
14 lines (11 loc) · 499 Bytes

File metadata and controls

14 lines (11 loc) · 499 Bytes
layout page
title |> (Pipe Operator Operator)
description Takes the result of the left expression and passes it as the first argument to the right function. Enables functional programming and method chaining.

Description: Takes the result of the left expression and passes it as the first argument to the right function. Enables functional programming and method chaining.

Example

5 |> double |> print  // (5) -> double -> print
range(1, 10) |> forEach(print)