Skip to content

Commit

Permalink
Fix array.compact docu
Browse files Browse the repository at this point in the history
  • Loading branch information
Mertsch committed Nov 13, 2022
1 parent dbcd324 commit 6163d77
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion doc/builtins.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ array.compact <list>

#### Description

Removes any non-null values from the input list.
Removes any null values from the input list.

#### Arguments

Expand Down
2 changes: 1 addition & 1 deletion src/Scriban/Functions/ArrayFunctions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public static IEnumerable AddRange(IEnumerable list1, IEnumerable list2)
}

/// <summary>
/// Removes any non-null values from the input list.
/// Removes any null values from the input list.
/// </summary>
/// <param name="list">An input list</param>
/// <returns>Returns a list with null value removed</returns>
Expand Down

0 comments on commit 6163d77

Please sign in to comment.