can-symbol
Advanced tools
Comparing version 1.0.0-pre.0 to 1.0.0-pre.1
@@ -70,2 +70,3 @@ var CanSymbol; | ||
"isValueLike", | ||
"isFunctionLike", | ||
// ======= Shape detection ========= | ||
@@ -72,0 +73,0 @@ "getOwnKeys", |
@@ -1,7 +0,7 @@ | ||
@typedef {Boolean} can-symbol/symbols/isListLike can.isListLike | ||
@typedef {Boolean} can-symbol/symbols/isFunctionLike can.isFunctionLike | ||
@parent can-symbol/symbols/type | ||
@description Set to `true` on objects with numeric indexes and length. | ||
@signature `@@can.isListLike` | ||
@signature `@@can.isFunctionLike` | ||
Setting the value of `can.isListLike` to `true` on an object shows that this object can be used with numeric properties, like a [can-define/list/list DefineList]. | ||
Setting the value of `can.isFunctionLike` to `true` on an object shows that this object can be called as a function. Setting it to `false` on a function shows that it should not be called as a function. |
{ | ||
"name": "can-symbol", | ||
"version": "1.0.0-pre.0", | ||
"version": "1.0.0-pre.1", | ||
"description": "Well known symbols used to detail how to operate on different objects", | ||
@@ -5,0 +5,0 @@ "homepage": "http://canjs.com", |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
37931
41
178
0