This repository was archived by the owner on Apr 12, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +6
-4
lines changed Expand file tree Collapse file tree 3 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 5555 "isBlob" : false ,
5656 "isBoolean" : false ,
5757 "isPromiseLike" : false ,
58+ "hasCustomToString" : false ,
5859 "trim" : false ,
5960 "escapeForRegexp" : false ,
6061 "isElement" : false ,
Original file line number Diff line number Diff line change @@ -464,6 +464,11 @@ identity.$inject = [];
464464
465465function valueFn ( value ) { return function ( ) { return value ; } ; }
466466
467+ function hasCustomToString ( obj ) {
468+ return isFunction ( obj . toString ) && obj . toString !== Object . prototype . toString ;
469+ }
470+
471+
467472/**
468473 * @ngdoc function
469474 * @name angular.isUndefined
Original file line number Diff line number Diff line change @@ -163,10 +163,6 @@ function filterFilter() {
163163 } ;
164164}
165165
166- function hasCustomToString ( obj ) {
167- return isFunction ( obj . toString ) && obj . toString !== Object . prototype . toString ;
168- }
169-
170166// Helper functions for `filterFilter`
171167function createPredicateFn ( expression , comparator , matchAgainstAnyProp ) {
172168 var shouldMatchPrimitives = isObject ( expression ) && ( '$' in expression ) ;
You can’t perform that action at this time.
0 commit comments