diff --git a/collections.md b/collections.md index 80ed82fde1..bbee48fb74 100644 --- a/collections.md +++ b/collections.md @@ -128,6 +128,7 @@ For the majority of the remaining collection documentation, we'll discuss each m [diffAssocUsing](#method-diffassocusing) [diffKeys](#method-diffkeys) [doesntContain](#method-doesntcontain) +[doesntContainStrict](#method-doesntcontainstrict) [dot](#method-dot) [dump](#method-dump) [duplicates](#method-duplicates) @@ -843,6 +844,11 @@ $collection->doesntContain('product', 'Bookcase'); 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. + +#### `doesntContainStrict()` {.collection-method} + +This method has the same signature as the [doesntContain](#method-doesntContain) method; however, all values are compared using "strict" comparisons. + #### `dot()` {.collection-method}