Skip to content

Commit

Permalink
Use more idiomatic example (#11251)
Browse files Browse the repository at this point in the history
* Use more concise example

* Apply suggestions from review

---------

Co-authored-by: Mikey Lombardi (He/Him) <michael.t.lombardi@gmail.com>
  • Loading branch information
guillermooo and michaeltlombardi committed Jul 11, 2024
1 parent b9604d9 commit 47e199b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -646,7 +646,7 @@ The following example shows how to select all odd numbers from the array.
The next example shows how to select all non-empty strings.

```powershell
('hi', '', 'there').Where({$_.Length})
('hi', '', 'there').Where{ $_ }
```

```Output
Expand Down

0 comments on commit 47e199b

Please sign in to comment.