linq-js-docs
Version:
use linq and lamdba in javascript
90 lines • 3.49 kB
JSON
{
"histroys": [
{
"since": "2.1.15",
"overloads": [
{
"parameters": [
{
"name": "array",
"types": [
"array"
]
},
{
"name": "last",
"types": [
"boolean"
],
"defaultValue": "false"
},
{
"name": "comparer",
"types": [
"function",
"string",
"symbol",
"number"
],
"defaultValue": "defaultEqualityComparer",
"declare": {
"returns": {
"type": "boolean"
},
"parameters": [
{
"name": "element",
"types": [
"any"
]
},
{
"name": "other",
"types": [
"any"
]
}
]
}
}
],
"returns": {
"type": "function",
"declare": {
"returns": {
"type": "number"
},
"parameters": [
{
"name": "element",
"types": [
"any"
]
},
{
"name": "other",
"types": [
"any"
]
}
]
}
},
"description": "获取一个大小比较器",
"remarks": [
"返回一个大小比较器函数, 该比较器按照指定的 array 值的循序(作为从小到大的方式)判别待比较的元素"
],
"sees": [
{
"guide": "comparer"
},
{
"apis": "Enumerable.comparers",
"property": "equality"
}
]
}
]
}
]
}