Skip to content

Commit a990043

Browse files
authored
add doesntContainStrict (#10673)
1 parent 96676e9 commit a990043

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

collections.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@ For the majority of the remaining collection documentation, we'll discuss each m
128128
[diffAssocUsing](#method-diffassocusing)
129129
[diffKeys](#method-diffkeys)
130130
[doesntContain](#method-doesntcontain)
131+
[doesntContainStrict](#method-doesntcontainstrict)
131132
[dot](#method-dot)
132133
[dump](#method-dump)
133134
[duplicates](#method-duplicates)
@@ -843,6 +844,11 @@ $collection->doesntContain('product', 'Bookcase');
843844

844845
The `doesntContain` method uses "loose" comparisons when checking item values, meaning a string with an integer value will be considered equal to an integer of the same value.
845846

847+
<a name="method-doesntcontainstrict"></a>
848+
#### `doesntContainStrict()` {.collection-method}
849+
850+
This method has the same signature as the [doesntContain](#method-doesntContain) method; however, all values are compared using "strict" comparisons.
851+
846852
<a name="method-dot"></a>
847853
#### `dot()` {.collection-method}
848854

0 commit comments

Comments
 (0)