1
0
Fork 0
mirror of https://github.com/koalyptus/TableFilter.git synced 2024-06-03 14:32:21 +02:00
TableFilter/docs/ast/source/types.js.json
koalyptus 4481fbe361 publish Docs to gh-pages (auto)
branch:       master
SHA:          c7d6de72f7
range SHA:    81f31a3106fb...c7d6de72f785
build id:     375208741
build number: 1103
2018-05-05 08:21:30 +00:00

8881 lines
210 KiB
JSON

{
"type": "File",
"start": 0,
"end": 1754,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 82,
"column": 0
}
},
"program": {
"type": "Program",
"start": 0,
"end": 1754,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 82,
"column": 0
}
},
"sourceType": "module",
"body": [
{
"type": "VariableDeclaration",
"start": 29,
"end": 54,
"loc": {
"start": {
"line": 6,
"column": 0
},
"end": {
"line": 6,
"column": 25
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 35,
"end": 53,
"loc": {
"start": {
"line": 6,
"column": 6
},
"end": {
"line": 6,
"column": 24
}
},
"id": {
"type": "Identifier",
"start": 35,
"end": 44,
"loc": {
"start": {
"line": 6,
"column": 6
},
"end": {
"line": 6,
"column": 15
},
"identifierName": "UNDEFINED"
},
"name": "UNDEFINED",
"leadingComments": null
},
"init": {
"type": "UnaryExpression",
"start": 47,
"end": 53,
"loc": {
"start": {
"line": 6,
"column": 18
},
"end": {
"line": 6,
"column": 24
}
},
"operator": "void",
"prefix": true,
"argument": {
"type": "NumericLiteral",
"start": 52,
"end": 53,
"loc": {
"start": {
"line": 6,
"column": 23
},
"end": {
"line": 6,
"column": 24
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
},
"extra": {
"parenthesizedArgument": false
}
},
"leadingComments": null
}
],
"kind": "const",
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\n * Types utilities\n ",
"start": 1,
"end": 27,
"loc": {
"start": {
"line": 2,
"column": 0
},
"end": {
"line": 4,
"column": 3
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\n * Return an empty function\n * @return {Function}\n ",
"start": 56,
"end": 113,
"loc": {
"start": {
"line": 8,
"column": 0
},
"end": {
"line": 11,
"column": 3
}
}
}
]
},
{
"type": "ExportNamedDeclaration",
"start": 114,
"end": 152,
"loc": {
"start": {
"line": 12,
"column": 0
},
"end": {
"line": 12,
"column": 38
}
},
"specifiers": [],
"source": null,
"declaration": {
"type": "VariableDeclaration",
"start": 121,
"end": 152,
"loc": {
"start": {
"line": 12,
"column": 7
},
"end": {
"line": 12,
"column": 38
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 127,
"end": 151,
"loc": {
"start": {
"line": 12,
"column": 13
},
"end": {
"line": 12,
"column": 37
}
},
"id": {
"type": "Identifier",
"start": 127,
"end": 135,
"loc": {
"start": {
"line": 12,
"column": 13
},
"end": {
"line": 12,
"column": 21
},
"identifierName": "EMPTY_FN"
},
"name": "EMPTY_FN",
"leadingComments": null
},
"init": {
"type": "FunctionExpression",
"start": 138,
"end": 151,
"loc": {
"start": {
"line": 12,
"column": 24
},
"end": {
"line": 12,
"column": 37
}
},
"id": {
"type": "Identifier",
"start": 127,
"end": 135,
"loc": {
"start": {
"line": 12,
"column": 13
},
"end": {
"line": 12,
"column": 21
},
"identifierName": "EMPTY_FN"
},
"name": "EMPTY_FN",
"leadingComments": null
},
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 149,
"end": 151,
"loc": {
"start": {
"line": 12,
"column": 35
},
"end": {
"line": 12,
"column": 37
}
},
"body": [],
"directives": []
}
},
"leadingComments": null
}
],
"kind": "const",
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\n * Return an empty function\n * @return {Function}\n ",
"start": 56,
"end": 113,
"loc": {
"start": {
"line": 8,
"column": 0
},
"end": {
"line": 11,
"column": 3
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\n * Check passed argument is an object\n * @param {Object} obj\n * @return {Boolean}\n ",
"start": 154,
"end": 245,
"loc": {
"start": {
"line": 14,
"column": 0
},
"end": {
"line": 18,
"column": 3
}
}
}
]
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\n * Return an empty function\n * @return {Function}\n ",
"start": 56,
"end": 113,
"loc": {
"start": {
"line": 8,
"column": 0
},
"end": {
"line": 11,
"column": 3
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\n * Check passed argument is an object\n * @param {Object} obj\n * @return {Boolean}\n ",
"start": 154,
"end": 245,
"loc": {
"start": {
"line": 14,
"column": 0
},
"end": {
"line": 18,
"column": 3
}
}
}
]
},
{
"type": "ExportNamedDeclaration",
"start": 246,
"end": 338,
"loc": {
"start": {
"line": 19,
"column": 0
},
"end": {
"line": 20,
"column": 71
}
},
"specifiers": [],
"source": null,
"declaration": {
"type": "VariableDeclaration",
"start": 253,
"end": 338,
"loc": {
"start": {
"line": 19,
"column": 7
},
"end": {
"line": 20,
"column": 71
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 259,
"end": 337,
"loc": {
"start": {
"line": 19,
"column": 13
},
"end": {
"line": 20,
"column": 70
}
},
"id": {
"type": "Identifier",
"start": 259,
"end": 264,
"loc": {
"start": {
"line": 19,
"column": 13
},
"end": {
"line": 19,
"column": 18
},
"identifierName": "isObj"
},
"name": "isObj",
"leadingComments": null
},
"init": {
"type": "ArrowFunctionExpression",
"start": 271,
"end": 337,
"loc": {
"start": {
"line": 20,
"column": 4
},
"end": {
"line": 20,
"column": 70
}
},
"id": {
"type": "Identifier",
"start": 259,
"end": 264,
"loc": {
"start": {
"line": 19,
"column": 13
},
"end": {
"line": 19,
"column": 18
},
"identifierName": "isObj"
},
"name": "isObj",
"leadingComments": null
},
"generator": false,
"expression": true,
"async": false,
"params": [
{
"type": "Identifier",
"start": 272,
"end": 275,
"loc": {
"start": {
"line": 20,
"column": 5
},
"end": {
"line": 20,
"column": 8
},
"identifierName": "obj"
},
"name": "obj"
}
],
"body": {
"type": "BinaryExpression",
"start": 280,
"end": 337,
"loc": {
"start": {
"line": 20,
"column": 13
},
"end": {
"line": 20,
"column": 70
}
},
"left": {
"type": "CallExpression",
"start": 280,
"end": 315,
"loc": {
"start": {
"line": 20,
"column": 13
},
"end": {
"line": 20,
"column": 48
}
},
"callee": {
"type": "MemberExpression",
"start": 280,
"end": 310,
"loc": {
"start": {
"line": 20,
"column": 13
},
"end": {
"line": 20,
"column": 43
}
},
"object": {
"type": "MemberExpression",
"start": 280,
"end": 305,
"loc": {
"start": {
"line": 20,
"column": 13
},
"end": {
"line": 20,
"column": 38
}
},
"object": {
"type": "MemberExpression",
"start": 280,
"end": 296,
"loc": {
"start": {
"line": 20,
"column": 13
},
"end": {
"line": 20,
"column": 29
}
},
"object": {
"type": "Identifier",
"start": 280,
"end": 286,
"loc": {
"start": {
"line": 20,
"column": 13
},
"end": {
"line": 20,
"column": 19
},
"identifierName": "Object"
},
"name": "Object"
},
"property": {
"type": "Identifier",
"start": 287,
"end": 296,
"loc": {
"start": {
"line": 20,
"column": 20
},
"end": {
"line": 20,
"column": 29
},
"identifierName": "prototype"
},
"name": "prototype"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 297,
"end": 305,
"loc": {
"start": {
"line": 20,
"column": 30
},
"end": {
"line": 20,
"column": 38
},
"identifierName": "toString"
},
"name": "toString"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 306,
"end": 310,
"loc": {
"start": {
"line": 20,
"column": 39
},
"end": {
"line": 20,
"column": 43
},
"identifierName": "call"
},
"name": "call"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 311,
"end": 314,
"loc": {
"start": {
"line": 20,
"column": 44
},
"end": {
"line": 20,
"column": 47
},
"identifierName": "obj"
},
"name": "obj"
}
]
},
"operator": "===",
"right": {
"type": "StringLiteral",
"start": 320,
"end": 337,
"loc": {
"start": {
"line": 20,
"column": 53
},
"end": {
"line": 20,
"column": 70
}
},
"extra": {
"rawValue": "[object Object]",
"raw": "'[object Object]'"
},
"value": "[object Object]"
}
}
},
"leadingComments": null
}
],
"kind": "const",
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\n * Check passed argument is an object\n * @param {Object} obj\n * @return {Boolean}\n ",
"start": 154,
"end": 245,
"loc": {
"start": {
"line": 14,
"column": 0
},
"end": {
"line": 18,
"column": 3
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\n * Check passed argument is a function\n * @param {Function} obj\n * @return {Boolean}\n ",
"start": 340,
"end": 433,
"loc": {
"start": {
"line": 22,
"column": 0
},
"end": {
"line": 26,
"column": 3
}
}
}
]
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\n * Check passed argument is an object\n * @param {Object} obj\n * @return {Boolean}\n ",
"start": 154,
"end": 245,
"loc": {
"start": {
"line": 14,
"column": 0
},
"end": {
"line": 18,
"column": 3
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\n * Check passed argument is a function\n * @param {Function} obj\n * @return {Boolean}\n ",
"start": 340,
"end": 433,
"loc": {
"start": {
"line": 22,
"column": 0
},
"end": {
"line": 26,
"column": 3
}
}
}
]
},
{
"type": "ExportNamedDeclaration",
"start": 434,
"end": 527,
"loc": {
"start": {
"line": 27,
"column": 0
},
"end": {
"line": 28,
"column": 73
}
},
"specifiers": [],
"source": null,
"declaration": {
"type": "VariableDeclaration",
"start": 441,
"end": 527,
"loc": {
"start": {
"line": 27,
"column": 7
},
"end": {
"line": 28,
"column": 73
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 447,
"end": 526,
"loc": {
"start": {
"line": 27,
"column": 13
},
"end": {
"line": 28,
"column": 72
}
},
"id": {
"type": "Identifier",
"start": 447,
"end": 451,
"loc": {
"start": {
"line": 27,
"column": 13
},
"end": {
"line": 27,
"column": 17
},
"identifierName": "isFn"
},
"name": "isFn",
"leadingComments": null
},
"init": {
"type": "ArrowFunctionExpression",
"start": 458,
"end": 526,
"loc": {
"start": {
"line": 28,
"column": 4
},
"end": {
"line": 28,
"column": 72
}
},
"id": {
"type": "Identifier",
"start": 447,
"end": 451,
"loc": {
"start": {
"line": 27,
"column": 13
},
"end": {
"line": 27,
"column": 17
},
"identifierName": "isFn"
},
"name": "isFn",
"leadingComments": null
},
"generator": false,
"expression": true,
"async": false,
"params": [
{
"type": "Identifier",
"start": 459,
"end": 462,
"loc": {
"start": {
"line": 28,
"column": 5
},
"end": {
"line": 28,
"column": 8
},
"identifierName": "obj"
},
"name": "obj"
}
],
"body": {
"type": "BinaryExpression",
"start": 467,
"end": 526,
"loc": {
"start": {
"line": 28,
"column": 13
},
"end": {
"line": 28,
"column": 72
}
},
"left": {
"type": "CallExpression",
"start": 467,
"end": 502,
"loc": {
"start": {
"line": 28,
"column": 13
},
"end": {
"line": 28,
"column": 48
}
},
"callee": {
"type": "MemberExpression",
"start": 467,
"end": 497,
"loc": {
"start": {
"line": 28,
"column": 13
},
"end": {
"line": 28,
"column": 43
}
},
"object": {
"type": "MemberExpression",
"start": 467,
"end": 492,
"loc": {
"start": {
"line": 28,
"column": 13
},
"end": {
"line": 28,
"column": 38
}
},
"object": {
"type": "MemberExpression",
"start": 467,
"end": 483,
"loc": {
"start": {
"line": 28,
"column": 13
},
"end": {
"line": 28,
"column": 29
}
},
"object": {
"type": "Identifier",
"start": 467,
"end": 473,
"loc": {
"start": {
"line": 28,
"column": 13
},
"end": {
"line": 28,
"column": 19
},
"identifierName": "Object"
},
"name": "Object"
},
"property": {
"type": "Identifier",
"start": 474,
"end": 483,
"loc": {
"start": {
"line": 28,
"column": 20
},
"end": {
"line": 28,
"column": 29
},
"identifierName": "prototype"
},
"name": "prototype"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 484,
"end": 492,
"loc": {
"start": {
"line": 28,
"column": 30
},
"end": {
"line": 28,
"column": 38
},
"identifierName": "toString"
},
"name": "toString"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 493,
"end": 497,
"loc": {
"start": {
"line": 28,
"column": 39
},
"end": {
"line": 28,
"column": 43
},
"identifierName": "call"
},
"name": "call"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 498,
"end": 501,
"loc": {
"start": {
"line": 28,
"column": 44
},
"end": {
"line": 28,
"column": 47
},
"identifierName": "obj"
},
"name": "obj"
}
]
},
"operator": "===",
"right": {
"type": "StringLiteral",
"start": 507,
"end": 526,
"loc": {
"start": {
"line": 28,
"column": 53
},
"end": {
"line": 28,
"column": 72
}
},
"extra": {
"rawValue": "[object Function]",
"raw": "'[object Function]'"
},
"value": "[object Function]"
}
}
},
"leadingComments": null
}
],
"kind": "const",
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\n * Check passed argument is a function\n * @param {Function} obj\n * @return {Boolean}\n ",
"start": 340,
"end": 433,
"loc": {
"start": {
"line": 22,
"column": 0
},
"end": {
"line": 26,
"column": 3
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\n * Check passed argument is an array\n * @param {Array} obj\n * @return {Boolean}\n ",
"start": 529,
"end": 618,
"loc": {
"start": {
"line": 30,
"column": 0
},
"end": {
"line": 34,
"column": 3
}
}
}
]
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\n * Check passed argument is a function\n * @param {Function} obj\n * @return {Boolean}\n ",
"start": 340,
"end": 433,
"loc": {
"start": {
"line": 22,
"column": 0
},
"end": {
"line": 26,
"column": 3
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\n * Check passed argument is an array\n * @param {Array} obj\n * @return {Boolean}\n ",
"start": 529,
"end": 618,
"loc": {
"start": {
"line": 30,
"column": 0
},
"end": {
"line": 34,
"column": 3
}
}
}
]
},
{
"type": "ExportNamedDeclaration",
"start": 619,
"end": 712,
"loc": {
"start": {
"line": 35,
"column": 0
},
"end": {
"line": 36,
"column": 70
}
},
"specifiers": [],
"source": null,
"declaration": {
"type": "VariableDeclaration",
"start": 626,
"end": 712,
"loc": {
"start": {
"line": 35,
"column": 7
},
"end": {
"line": 36,
"column": 70
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 632,
"end": 711,
"loc": {
"start": {
"line": 35,
"column": 13
},
"end": {
"line": 36,
"column": 69
}
},
"id": {
"type": "Identifier",
"start": 632,
"end": 639,
"loc": {
"start": {
"line": 35,
"column": 13
},
"end": {
"line": 35,
"column": 20
},
"identifierName": "isArray"
},
"name": "isArray",
"leadingComments": null
},
"init": {
"type": "ArrowFunctionExpression",
"start": 646,
"end": 711,
"loc": {
"start": {
"line": 36,
"column": 4
},
"end": {
"line": 36,
"column": 69
}
},
"id": {
"type": "Identifier",
"start": 632,
"end": 639,
"loc": {
"start": {
"line": 35,
"column": 13
},
"end": {
"line": 35,
"column": 20
},
"identifierName": "isArray"
},
"name": "isArray",
"leadingComments": null
},
"generator": false,
"expression": true,
"async": false,
"params": [
{
"type": "Identifier",
"start": 647,
"end": 650,
"loc": {
"start": {
"line": 36,
"column": 5
},
"end": {
"line": 36,
"column": 8
},
"identifierName": "obj"
},
"name": "obj"
}
],
"body": {
"type": "BinaryExpression",
"start": 655,
"end": 711,
"loc": {
"start": {
"line": 36,
"column": 13
},
"end": {
"line": 36,
"column": 69
}
},
"left": {
"type": "CallExpression",
"start": 655,
"end": 690,
"loc": {
"start": {
"line": 36,
"column": 13
},
"end": {
"line": 36,
"column": 48
}
},
"callee": {
"type": "MemberExpression",
"start": 655,
"end": 685,
"loc": {
"start": {
"line": 36,
"column": 13
},
"end": {
"line": 36,
"column": 43
}
},
"object": {
"type": "MemberExpression",
"start": 655,
"end": 680,
"loc": {
"start": {
"line": 36,
"column": 13
},
"end": {
"line": 36,
"column": 38
}
},
"object": {
"type": "MemberExpression",
"start": 655,
"end": 671,
"loc": {
"start": {
"line": 36,
"column": 13
},
"end": {
"line": 36,
"column": 29
}
},
"object": {
"type": "Identifier",
"start": 655,
"end": 661,
"loc": {
"start": {
"line": 36,
"column": 13
},
"end": {
"line": 36,
"column": 19
},
"identifierName": "Object"
},
"name": "Object"
},
"property": {
"type": "Identifier",
"start": 662,
"end": 671,
"loc": {
"start": {
"line": 36,
"column": 20
},
"end": {
"line": 36,
"column": 29
},
"identifierName": "prototype"
},
"name": "prototype"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 672,
"end": 680,
"loc": {
"start": {
"line": 36,
"column": 30
},
"end": {
"line": 36,
"column": 38
},
"identifierName": "toString"
},
"name": "toString"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 681,
"end": 685,
"loc": {
"start": {
"line": 36,
"column": 39
},
"end": {
"line": 36,
"column": 43
},
"identifierName": "call"
},
"name": "call"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 686,
"end": 689,
"loc": {
"start": {
"line": 36,
"column": 44
},
"end": {
"line": 36,
"column": 47
},
"identifierName": "obj"
},
"name": "obj"
}
]
},
"operator": "===",
"right": {
"type": "StringLiteral",
"start": 695,
"end": 711,
"loc": {
"start": {
"line": 36,
"column": 53
},
"end": {
"line": 36,
"column": 69
}
},
"extra": {
"rawValue": "[object Array]",
"raw": "'[object Array]'"
},
"value": "[object Array]"
}
}
},
"leadingComments": null
}
],
"kind": "const",
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\n * Check passed argument is an array\n * @param {Array} obj\n * @return {Boolean}\n ",
"start": 529,
"end": 618,
"loc": {
"start": {
"line": 30,
"column": 0
},
"end": {
"line": 34,
"column": 3
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\n * Check passed argument is a string\n * @param {String} obj obj\n * @returns {Boolean}\n ",
"start": 714,
"end": 807,
"loc": {
"start": {
"line": 38,
"column": 0
},
"end": {
"line": 42,
"column": 3
}
}
}
]
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\n * Check passed argument is an array\n * @param {Array} obj\n * @return {Boolean}\n ",
"start": 529,
"end": 618,
"loc": {
"start": {
"line": 30,
"column": 0
},
"end": {
"line": 34,
"column": 3
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\n * Check passed argument is a string\n * @param {String} obj obj\n * @returns {Boolean}\n ",
"start": 714,
"end": 807,
"loc": {
"start": {
"line": 38,
"column": 0
},
"end": {
"line": 42,
"column": 3
}
}
}
]
},
{
"type": "ExportNamedDeclaration",
"start": 808,
"end": 903,
"loc": {
"start": {
"line": 43,
"column": 0
},
"end": {
"line": 44,
"column": 71
}
},
"specifiers": [],
"source": null,
"declaration": {
"type": "VariableDeclaration",
"start": 815,
"end": 903,
"loc": {
"start": {
"line": 43,
"column": 7
},
"end": {
"line": 44,
"column": 71
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 821,
"end": 902,
"loc": {
"start": {
"line": 43,
"column": 13
},
"end": {
"line": 44,
"column": 70
}
},
"id": {
"type": "Identifier",
"start": 821,
"end": 829,
"loc": {
"start": {
"line": 43,
"column": 13
},
"end": {
"line": 43,
"column": 21
},
"identifierName": "isString"
},
"name": "isString",
"leadingComments": null
},
"init": {
"type": "ArrowFunctionExpression",
"start": 836,
"end": 902,
"loc": {
"start": {
"line": 44,
"column": 4
},
"end": {
"line": 44,
"column": 70
}
},
"id": {
"type": "Identifier",
"start": 821,
"end": 829,
"loc": {
"start": {
"line": 43,
"column": 13
},
"end": {
"line": 43,
"column": 21
},
"identifierName": "isString"
},
"name": "isString",
"leadingComments": null
},
"generator": false,
"expression": true,
"async": false,
"params": [
{
"type": "Identifier",
"start": 837,
"end": 840,
"loc": {
"start": {
"line": 44,
"column": 5
},
"end": {
"line": 44,
"column": 8
},
"identifierName": "obj"
},
"name": "obj"
}
],
"body": {
"type": "BinaryExpression",
"start": 845,
"end": 902,
"loc": {
"start": {
"line": 44,
"column": 13
},
"end": {
"line": 44,
"column": 70
}
},
"left": {
"type": "CallExpression",
"start": 845,
"end": 880,
"loc": {
"start": {
"line": 44,
"column": 13
},
"end": {
"line": 44,
"column": 48
}
},
"callee": {
"type": "MemberExpression",
"start": 845,
"end": 875,
"loc": {
"start": {
"line": 44,
"column": 13
},
"end": {
"line": 44,
"column": 43
}
},
"object": {
"type": "MemberExpression",
"start": 845,
"end": 870,
"loc": {
"start": {
"line": 44,
"column": 13
},
"end": {
"line": 44,
"column": 38
}
},
"object": {
"type": "MemberExpression",
"start": 845,
"end": 861,
"loc": {
"start": {
"line": 44,
"column": 13
},
"end": {
"line": 44,
"column": 29
}
},
"object": {
"type": "Identifier",
"start": 845,
"end": 851,
"loc": {
"start": {
"line": 44,
"column": 13
},
"end": {
"line": 44,
"column": 19
},
"identifierName": "Object"
},
"name": "Object"
},
"property": {
"type": "Identifier",
"start": 852,
"end": 861,
"loc": {
"start": {
"line": 44,
"column": 20
},
"end": {
"line": 44,
"column": 29
},
"identifierName": "prototype"
},
"name": "prototype"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 862,
"end": 870,
"loc": {
"start": {
"line": 44,
"column": 30
},
"end": {
"line": 44,
"column": 38
},
"identifierName": "toString"
},
"name": "toString"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 871,
"end": 875,
"loc": {
"start": {
"line": 44,
"column": 39
},
"end": {
"line": 44,
"column": 43
},
"identifierName": "call"
},
"name": "call"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 876,
"end": 879,
"loc": {
"start": {
"line": 44,
"column": 44
},
"end": {
"line": 44,
"column": 47
},
"identifierName": "obj"
},
"name": "obj"
}
]
},
"operator": "===",
"right": {
"type": "StringLiteral",
"start": 885,
"end": 902,
"loc": {
"start": {
"line": 44,
"column": 53
},
"end": {
"line": 44,
"column": 70
}
},
"extra": {
"rawValue": "[object String]",
"raw": "'[object String]'"
},
"value": "[object String]"
}
}
},
"leadingComments": null
}
],
"kind": "const",
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\n * Check passed argument is a string\n * @param {String} obj obj\n * @returns {Boolean}\n ",
"start": 714,
"end": 807,
"loc": {
"start": {
"line": 38,
"column": 0
},
"end": {
"line": 42,
"column": 3
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\n * Check passed argument is a number\n * @param {Number} obj\n * @returns {Boolean}\n ",
"start": 905,
"end": 994,
"loc": {
"start": {
"line": 46,
"column": 0
},
"end": {
"line": 50,
"column": 3
}
}
}
]
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\n * Check passed argument is a string\n * @param {String} obj obj\n * @returns {Boolean}\n ",
"start": 714,
"end": 807,
"loc": {
"start": {
"line": 38,
"column": 0
},
"end": {
"line": 42,
"column": 3
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\n * Check passed argument is a number\n * @param {Number} obj\n * @returns {Boolean}\n ",
"start": 905,
"end": 994,
"loc": {
"start": {
"line": 46,
"column": 0
},
"end": {
"line": 50,
"column": 3
}
}
}
]
},
{
"type": "ExportNamedDeclaration",
"start": 995,
"end": 1090,
"loc": {
"start": {
"line": 51,
"column": 0
},
"end": {
"line": 52,
"column": 71
}
},
"specifiers": [],
"source": null,
"declaration": {
"type": "VariableDeclaration",
"start": 1002,
"end": 1090,
"loc": {
"start": {
"line": 51,
"column": 7
},
"end": {
"line": 52,
"column": 71
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 1008,
"end": 1089,
"loc": {
"start": {
"line": 51,
"column": 13
},
"end": {
"line": 52,
"column": 70
}
},
"id": {
"type": "Identifier",
"start": 1008,
"end": 1016,
"loc": {
"start": {
"line": 51,
"column": 13
},
"end": {
"line": 51,
"column": 21
},
"identifierName": "isNumber"
},
"name": "isNumber",
"leadingComments": null
},
"init": {
"type": "ArrowFunctionExpression",
"start": 1023,
"end": 1089,
"loc": {
"start": {
"line": 52,
"column": 4
},
"end": {
"line": 52,
"column": 70
}
},
"id": {
"type": "Identifier",
"start": 1008,
"end": 1016,
"loc": {
"start": {
"line": 51,
"column": 13
},
"end": {
"line": 51,
"column": 21
},
"identifierName": "isNumber"
},
"name": "isNumber",
"leadingComments": null
},
"generator": false,
"expression": true,
"async": false,
"params": [
{
"type": "Identifier",
"start": 1024,
"end": 1027,
"loc": {
"start": {
"line": 52,
"column": 5
},
"end": {
"line": 52,
"column": 8
},
"identifierName": "obj"
},
"name": "obj"
}
],
"body": {
"type": "BinaryExpression",
"start": 1032,
"end": 1089,
"loc": {
"start": {
"line": 52,
"column": 13
},
"end": {
"line": 52,
"column": 70
}
},
"left": {
"type": "CallExpression",
"start": 1032,
"end": 1067,
"loc": {
"start": {
"line": 52,
"column": 13
},
"end": {
"line": 52,
"column": 48
}
},
"callee": {
"type": "MemberExpression",
"start": 1032,
"end": 1062,
"loc": {
"start": {
"line": 52,
"column": 13
},
"end": {
"line": 52,
"column": 43
}
},
"object": {
"type": "MemberExpression",
"start": 1032,
"end": 1057,
"loc": {
"start": {
"line": 52,
"column": 13
},
"end": {
"line": 52,
"column": 38
}
},
"object": {
"type": "MemberExpression",
"start": 1032,
"end": 1048,
"loc": {
"start": {
"line": 52,
"column": 13
},
"end": {
"line": 52,
"column": 29
}
},
"object": {
"type": "Identifier",
"start": 1032,
"end": 1038,
"loc": {
"start": {
"line": 52,
"column": 13
},
"end": {
"line": 52,
"column": 19
},
"identifierName": "Object"
},
"name": "Object"
},
"property": {
"type": "Identifier",
"start": 1039,
"end": 1048,
"loc": {
"start": {
"line": 52,
"column": 20
},
"end": {
"line": 52,
"column": 29
},
"identifierName": "prototype"
},
"name": "prototype"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1049,
"end": 1057,
"loc": {
"start": {
"line": 52,
"column": 30
},
"end": {
"line": 52,
"column": 38
},
"identifierName": "toString"
},
"name": "toString"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1058,
"end": 1062,
"loc": {
"start": {
"line": 52,
"column": 39
},
"end": {
"line": 52,
"column": 43
},
"identifierName": "call"
},
"name": "call"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 1063,
"end": 1066,
"loc": {
"start": {
"line": 52,
"column": 44
},
"end": {
"line": 52,
"column": 47
},
"identifierName": "obj"
},
"name": "obj"
}
]
},
"operator": "===",
"right": {
"type": "StringLiteral",
"start": 1072,
"end": 1089,
"loc": {
"start": {
"line": 52,
"column": 53
},
"end": {
"line": 52,
"column": 70
}
},
"extra": {
"rawValue": "[object Number]",
"raw": "'[object Number]'"
},
"value": "[object Number]"
}
}
},
"leadingComments": null
}
],
"kind": "const",
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\n * Check passed argument is a number\n * @param {Number} obj\n * @returns {Boolean}\n ",
"start": 905,
"end": 994,
"loc": {
"start": {
"line": 46,
"column": 0
},
"end": {
"line": 50,
"column": 3
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\n * Check passed argument is a boolean\n * @param {Boolean} obj\n * @returns {Boolean}\n ",
"start": 1092,
"end": 1183,
"loc": {
"start": {
"line": 54,
"column": 0
},
"end": {
"line": 58,
"column": 3
}
}
}
]
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\n * Check passed argument is a number\n * @param {Number} obj\n * @returns {Boolean}\n ",
"start": 905,
"end": 994,
"loc": {
"start": {
"line": 46,
"column": 0
},
"end": {
"line": 50,
"column": 3
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\n * Check passed argument is a boolean\n * @param {Boolean} obj\n * @returns {Boolean}\n ",
"start": 1092,
"end": 1183,
"loc": {
"start": {
"line": 54,
"column": 0
},
"end": {
"line": 58,
"column": 3
}
}
}
]
},
{
"type": "ExportNamedDeclaration",
"start": 1184,
"end": 1281,
"loc": {
"start": {
"line": 59,
"column": 0
},
"end": {
"line": 60,
"column": 72
}
},
"specifiers": [],
"source": null,
"declaration": {
"type": "VariableDeclaration",
"start": 1191,
"end": 1281,
"loc": {
"start": {
"line": 59,
"column": 7
},
"end": {
"line": 60,
"column": 72
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 1197,
"end": 1280,
"loc": {
"start": {
"line": 59,
"column": 13
},
"end": {
"line": 60,
"column": 71
}
},
"id": {
"type": "Identifier",
"start": 1197,
"end": 1206,
"loc": {
"start": {
"line": 59,
"column": 13
},
"end": {
"line": 59,
"column": 22
},
"identifierName": "isBoolean"
},
"name": "isBoolean",
"leadingComments": null
},
"init": {
"type": "ArrowFunctionExpression",
"start": 1213,
"end": 1280,
"loc": {
"start": {
"line": 60,
"column": 4
},
"end": {
"line": 60,
"column": 71
}
},
"id": {
"type": "Identifier",
"start": 1197,
"end": 1206,
"loc": {
"start": {
"line": 59,
"column": 13
},
"end": {
"line": 59,
"column": 22
},
"identifierName": "isBoolean"
},
"name": "isBoolean",
"leadingComments": null
},
"generator": false,
"expression": true,
"async": false,
"params": [
{
"type": "Identifier",
"start": 1214,
"end": 1217,
"loc": {
"start": {
"line": 60,
"column": 5
},
"end": {
"line": 60,
"column": 8
},
"identifierName": "obj"
},
"name": "obj"
}
],
"body": {
"type": "BinaryExpression",
"start": 1222,
"end": 1280,
"loc": {
"start": {
"line": 60,
"column": 13
},
"end": {
"line": 60,
"column": 71
}
},
"left": {
"type": "CallExpression",
"start": 1222,
"end": 1257,
"loc": {
"start": {
"line": 60,
"column": 13
},
"end": {
"line": 60,
"column": 48
}
},
"callee": {
"type": "MemberExpression",
"start": 1222,
"end": 1252,
"loc": {
"start": {
"line": 60,
"column": 13
},
"end": {
"line": 60,
"column": 43
}
},
"object": {
"type": "MemberExpression",
"start": 1222,
"end": 1247,
"loc": {
"start": {
"line": 60,
"column": 13
},
"end": {
"line": 60,
"column": 38
}
},
"object": {
"type": "MemberExpression",
"start": 1222,
"end": 1238,
"loc": {
"start": {
"line": 60,
"column": 13
},
"end": {
"line": 60,
"column": 29
}
},
"object": {
"type": "Identifier",
"start": 1222,
"end": 1228,
"loc": {
"start": {
"line": 60,
"column": 13
},
"end": {
"line": 60,
"column": 19
},
"identifierName": "Object"
},
"name": "Object"
},
"property": {
"type": "Identifier",
"start": 1229,
"end": 1238,
"loc": {
"start": {
"line": 60,
"column": 20
},
"end": {
"line": 60,
"column": 29
},
"identifierName": "prototype"
},
"name": "prototype"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1239,
"end": 1247,
"loc": {
"start": {
"line": 60,
"column": 30
},
"end": {
"line": 60,
"column": 38
},
"identifierName": "toString"
},
"name": "toString"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1248,
"end": 1252,
"loc": {
"start": {
"line": 60,
"column": 39
},
"end": {
"line": 60,
"column": 43
},
"identifierName": "call"
},
"name": "call"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 1253,
"end": 1256,
"loc": {
"start": {
"line": 60,
"column": 44
},
"end": {
"line": 60,
"column": 47
},
"identifierName": "obj"
},
"name": "obj"
}
]
},
"operator": "===",
"right": {
"type": "StringLiteral",
"start": 1262,
"end": 1280,
"loc": {
"start": {
"line": 60,
"column": 53
},
"end": {
"line": 60,
"column": 71
}
},
"extra": {
"rawValue": "[object Boolean]",
"raw": "'[object Boolean]'"
},
"value": "[object Boolean]"
}
}
},
"leadingComments": null
}
],
"kind": "const",
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\n * Check passed argument is a boolean\n * @param {Boolean} obj\n * @returns {Boolean}\n ",
"start": 1092,
"end": 1183,
"loc": {
"start": {
"line": 54,
"column": 0
},
"end": {
"line": 58,
"column": 3
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\n * Check passed argument is undefined\n * @param {Any} obj\n * @return {Boolean}\n ",
"start": 1283,
"end": 1371,
"loc": {
"start": {
"line": 62,
"column": 0
},
"end": {
"line": 66,
"column": 3
}
}
}
]
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\n * Check passed argument is a boolean\n * @param {Boolean} obj\n * @returns {Boolean}\n ",
"start": 1092,
"end": 1183,
"loc": {
"start": {
"line": 54,
"column": 0
},
"end": {
"line": 58,
"column": 3
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\n * Check passed argument is undefined\n * @param {Any} obj\n * @return {Boolean}\n ",
"start": 1283,
"end": 1371,
"loc": {
"start": {
"line": 62,
"column": 0
},
"end": {
"line": 66,
"column": 3
}
}
}
]
},
{
"type": "ExportNamedDeclaration",
"start": 1372,
"end": 1422,
"loc": {
"start": {
"line": 67,
"column": 0
},
"end": {
"line": 67,
"column": 50
}
},
"specifiers": [],
"source": null,
"declaration": {
"type": "VariableDeclaration",
"start": 1379,
"end": 1422,
"loc": {
"start": {
"line": 67,
"column": 7
},
"end": {
"line": 67,
"column": 50
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 1385,
"end": 1421,
"loc": {
"start": {
"line": 67,
"column": 13
},
"end": {
"line": 67,
"column": 49
}
},
"id": {
"type": "Identifier",
"start": 1385,
"end": 1392,
"loc": {
"start": {
"line": 67,
"column": 13
},
"end": {
"line": 67,
"column": 20
},
"identifierName": "isUndef"
},
"name": "isUndef",
"leadingComments": null
},
"init": {
"type": "ArrowFunctionExpression",
"start": 1395,
"end": 1421,
"loc": {
"start": {
"line": 67,
"column": 23
},
"end": {
"line": 67,
"column": 49
}
},
"id": {
"type": "Identifier",
"start": 1385,
"end": 1392,
"loc": {
"start": {
"line": 67,
"column": 13
},
"end": {
"line": 67,
"column": 20
},
"identifierName": "isUndef"
},
"name": "isUndef",
"leadingComments": null
},
"generator": false,
"expression": true,
"async": false,
"params": [
{
"type": "Identifier",
"start": 1396,
"end": 1399,
"loc": {
"start": {
"line": 67,
"column": 24
},
"end": {
"line": 67,
"column": 27
},
"identifierName": "obj"
},
"name": "obj"
}
],
"body": {
"type": "BinaryExpression",
"start": 1404,
"end": 1421,
"loc": {
"start": {
"line": 67,
"column": 32
},
"end": {
"line": 67,
"column": 49
}
},
"left": {
"type": "Identifier",
"start": 1404,
"end": 1407,
"loc": {
"start": {
"line": 67,
"column": 32
},
"end": {
"line": 67,
"column": 35
},
"identifierName": "obj"
},
"name": "obj"
},
"operator": "===",
"right": {
"type": "Identifier",
"start": 1412,
"end": 1421,
"loc": {
"start": {
"line": 67,
"column": 40
},
"end": {
"line": 67,
"column": 49
},
"identifierName": "UNDEFINED"
},
"name": "UNDEFINED"
}
}
},
"leadingComments": null
}
],
"kind": "const",
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\n * Check passed argument is undefined\n * @param {Any} obj\n * @return {Boolean}\n ",
"start": 1283,
"end": 1371,
"loc": {
"start": {
"line": 62,
"column": 0
},
"end": {
"line": 66,
"column": 3
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\n * Check passed argument is null\n * @param {Any} obj\n * @return {Boolean}\n ",
"start": 1424,
"end": 1507,
"loc": {
"start": {
"line": 69,
"column": 0
},
"end": {
"line": 73,
"column": 3
}
}
}
]
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\n * Check passed argument is undefined\n * @param {Any} obj\n * @return {Boolean}\n ",
"start": 1283,
"end": 1371,
"loc": {
"start": {
"line": 62,
"column": 0
},
"end": {
"line": 66,
"column": 3
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\n * Check passed argument is null\n * @param {Any} obj\n * @return {Boolean}\n ",
"start": 1424,
"end": 1507,
"loc": {
"start": {
"line": 69,
"column": 0
},
"end": {
"line": 73,
"column": 3
}
}
}
]
},
{
"type": "ExportNamedDeclaration",
"start": 1508,
"end": 1552,
"loc": {
"start": {
"line": 74,
"column": 0
},
"end": {
"line": 74,
"column": 44
}
},
"specifiers": [],
"source": null,
"declaration": {
"type": "VariableDeclaration",
"start": 1515,
"end": 1552,
"loc": {
"start": {
"line": 74,
"column": 7
},
"end": {
"line": 74,
"column": 44
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 1521,
"end": 1551,
"loc": {
"start": {
"line": 74,
"column": 13
},
"end": {
"line": 74,
"column": 43
}
},
"id": {
"type": "Identifier",
"start": 1521,
"end": 1527,
"loc": {
"start": {
"line": 74,
"column": 13
},
"end": {
"line": 74,
"column": 19
},
"identifierName": "isNull"
},
"name": "isNull",
"leadingComments": null
},
"init": {
"type": "ArrowFunctionExpression",
"start": 1530,
"end": 1551,
"loc": {
"start": {
"line": 74,
"column": 22
},
"end": {
"line": 74,
"column": 43
}
},
"id": {
"type": "Identifier",
"start": 1521,
"end": 1527,
"loc": {
"start": {
"line": 74,
"column": 13
},
"end": {
"line": 74,
"column": 19
},
"identifierName": "isNull"
},
"name": "isNull",
"leadingComments": null
},
"generator": false,
"expression": true,
"async": false,
"params": [
{
"type": "Identifier",
"start": 1531,
"end": 1534,
"loc": {
"start": {
"line": 74,
"column": 23
},
"end": {
"line": 74,
"column": 26
},
"identifierName": "obj"
},
"name": "obj"
}
],
"body": {
"type": "BinaryExpression",
"start": 1539,
"end": 1551,
"loc": {
"start": {
"line": 74,
"column": 31
},
"end": {
"line": 74,
"column": 43
}
},
"left": {
"type": "Identifier",
"start": 1539,
"end": 1542,
"loc": {
"start": {
"line": 74,
"column": 31
},
"end": {
"line": 74,
"column": 34
},
"identifierName": "obj"
},
"name": "obj"
},
"operator": "===",
"right": {
"type": "NullLiteral",
"start": 1547,
"end": 1551,
"loc": {
"start": {
"line": 74,
"column": 39
},
"end": {
"line": 74,
"column": 43
}
}
}
}
},
"leadingComments": null
}
],
"kind": "const",
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\n * Check passed argument is null\n * @param {Any} obj\n * @return {Boolean}\n ",
"start": 1424,
"end": 1507,
"loc": {
"start": {
"line": 69,
"column": 0
},
"end": {
"line": 73,
"column": 3
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\n * Check passed argument is empty (undefined, null or empty string)\n * @param {Any} obj\n * @return {Boolean}\n ",
"start": 1554,
"end": 1672,
"loc": {
"start": {
"line": 76,
"column": 0
},
"end": {
"line": 80,
"column": 3
}
}
}
]
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\n * Check passed argument is null\n * @param {Any} obj\n * @return {Boolean}\n ",
"start": 1424,
"end": 1507,
"loc": {
"start": {
"line": 69,
"column": 0
},
"end": {
"line": 73,
"column": 3
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\n * Check passed argument is empty (undefined, null or empty string)\n * @param {Any} obj\n * @return {Boolean}\n ",
"start": 1554,
"end": 1672,
"loc": {
"start": {
"line": 76,
"column": 0
},
"end": {
"line": 80,
"column": 3
}
}
}
]
},
{
"type": "ExportNamedDeclaration",
"start": 1673,
"end": 1753,
"loc": {
"start": {
"line": 81,
"column": 0
},
"end": {
"line": 81,
"column": 80
}
},
"specifiers": [],
"source": null,
"declaration": {
"type": "VariableDeclaration",
"start": 1680,
"end": 1753,
"loc": {
"start": {
"line": 81,
"column": 7
},
"end": {
"line": 81,
"column": 80
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 1686,
"end": 1752,
"loc": {
"start": {
"line": 81,
"column": 13
},
"end": {
"line": 81,
"column": 79
}
},
"id": {
"type": "Identifier",
"start": 1686,
"end": 1693,
"loc": {
"start": {
"line": 81,
"column": 13
},
"end": {
"line": 81,
"column": 20
},
"identifierName": "isEmpty"
},
"name": "isEmpty",
"leadingComments": null
},
"init": {
"type": "ArrowFunctionExpression",
"start": 1696,
"end": 1752,
"loc": {
"start": {
"line": 81,
"column": 23
},
"end": {
"line": 81,
"column": 79
}
},
"id": {
"type": "Identifier",
"start": 1686,
"end": 1693,
"loc": {
"start": {
"line": 81,
"column": 13
},
"end": {
"line": 81,
"column": 20
},
"identifierName": "isEmpty"
},
"name": "isEmpty",
"leadingComments": null
},
"generator": false,
"expression": true,
"async": false,
"params": [
{
"type": "Identifier",
"start": 1697,
"end": 1700,
"loc": {
"start": {
"line": 81,
"column": 24
},
"end": {
"line": 81,
"column": 27
},
"identifierName": "obj"
},
"name": "obj"
}
],
"body": {
"type": "LogicalExpression",
"start": 1705,
"end": 1752,
"loc": {
"start": {
"line": 81,
"column": 32
},
"end": {
"line": 81,
"column": 79
}
},
"left": {
"type": "LogicalExpression",
"start": 1705,
"end": 1732,
"loc": {
"start": {
"line": 81,
"column": 32
},
"end": {
"line": 81,
"column": 59
}
},
"left": {
"type": "CallExpression",
"start": 1705,
"end": 1717,
"loc": {
"start": {
"line": 81,
"column": 32
},
"end": {
"line": 81,
"column": 44
}
},
"callee": {
"type": "Identifier",
"start": 1705,
"end": 1712,
"loc": {
"start": {
"line": 81,
"column": 32
},
"end": {
"line": 81,
"column": 39
},
"identifierName": "isUndef"
},
"name": "isUndef"
},
"arguments": [
{
"type": "Identifier",
"start": 1713,
"end": 1716,
"loc": {
"start": {
"line": 81,
"column": 40
},
"end": {
"line": 81,
"column": 43
},
"identifierName": "obj"
},
"name": "obj"
}
]
},
"operator": "||",
"right": {
"type": "CallExpression",
"start": 1721,
"end": 1732,
"loc": {
"start": {
"line": 81,
"column": 48
},
"end": {
"line": 81,
"column": 59
}
},
"callee": {
"type": "Identifier",
"start": 1721,
"end": 1727,
"loc": {
"start": {
"line": 81,
"column": 48
},
"end": {
"line": 81,
"column": 54
},
"identifierName": "isNull"
},
"name": "isNull"
},
"arguments": [
{
"type": "Identifier",
"start": 1728,
"end": 1731,
"loc": {
"start": {
"line": 81,
"column": 55
},
"end": {
"line": 81,
"column": 58
},
"identifierName": "obj"
},
"name": "obj"
}
]
}
},
"operator": "||",
"right": {
"type": "BinaryExpression",
"start": 1736,
"end": 1752,
"loc": {
"start": {
"line": 81,
"column": 63
},
"end": {
"line": 81,
"column": 79
}
},
"left": {
"type": "MemberExpression",
"start": 1736,
"end": 1746,
"loc": {
"start": {
"line": 81,
"column": 63
},
"end": {
"line": 81,
"column": 73
}
},
"object": {
"type": "Identifier",
"start": 1736,
"end": 1739,
"loc": {
"start": {
"line": 81,
"column": 63
},
"end": {
"line": 81,
"column": 66
},
"identifierName": "obj"
},
"name": "obj"
},
"property": {
"type": "Identifier",
"start": 1740,
"end": 1746,
"loc": {
"start": {
"line": 81,
"column": 67
},
"end": {
"line": 81,
"column": 73
},
"identifierName": "length"
},
"name": "length"
},
"computed": false
},
"operator": "===",
"right": {
"type": "NumericLiteral",
"start": 1751,
"end": 1752,
"loc": {
"start": {
"line": 81,
"column": 78
},
"end": {
"line": 81,
"column": 79
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
}
}
}
},
"leadingComments": null
}
],
"kind": "const",
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\n * Check passed argument is empty (undefined, null or empty string)\n * @param {Any} obj\n * @return {Boolean}\n ",
"start": 1554,
"end": 1672,
"loc": {
"start": {
"line": 76,
"column": 0
},
"end": {
"line": 80,
"column": 3
}
}
}
],
"trailingComments": []
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\n * Check passed argument is empty (undefined, null or empty string)\n * @param {Any} obj\n * @return {Boolean}\n ",
"start": 1554,
"end": 1672,
"loc": {
"start": {
"line": 76,
"column": 0
},
"end": {
"line": 80,
"column": 3
}
}
}
]
}
],
"directives": []
},
"comments": [
{
"type": "CommentBlock",
"value": "*\n * Types utilities\n ",
"start": 1,
"end": 27,
"loc": {
"start": {
"line": 2,
"column": 0
},
"end": {
"line": 4,
"column": 3
}
}
},
{
"type": "CommentBlock",
"value": "*\n * Return an empty function\n * @return {Function}\n ",
"start": 56,
"end": 113,
"loc": {
"start": {
"line": 8,
"column": 0
},
"end": {
"line": 11,
"column": 3
}
}
},
{
"type": "CommentBlock",
"value": "*\n * Check passed argument is an object\n * @param {Object} obj\n * @return {Boolean}\n ",
"start": 154,
"end": 245,
"loc": {
"start": {
"line": 14,
"column": 0
},
"end": {
"line": 18,
"column": 3
}
}
},
{
"type": "CommentBlock",
"value": "*\n * Check passed argument is a function\n * @param {Function} obj\n * @return {Boolean}\n ",
"start": 340,
"end": 433,
"loc": {
"start": {
"line": 22,
"column": 0
},
"end": {
"line": 26,
"column": 3
}
}
},
{
"type": "CommentBlock",
"value": "*\n * Check passed argument is an array\n * @param {Array} obj\n * @return {Boolean}\n ",
"start": 529,
"end": 618,
"loc": {
"start": {
"line": 30,
"column": 0
},
"end": {
"line": 34,
"column": 3
}
}
},
{
"type": "CommentBlock",
"value": "*\n * Check passed argument is a string\n * @param {String} obj obj\n * @returns {Boolean}\n ",
"start": 714,
"end": 807,
"loc": {
"start": {
"line": 38,
"column": 0
},
"end": {
"line": 42,
"column": 3
}
}
},
{
"type": "CommentBlock",
"value": "*\n * Check passed argument is a number\n * @param {Number} obj\n * @returns {Boolean}\n ",
"start": 905,
"end": 994,
"loc": {
"start": {
"line": 46,
"column": 0
},
"end": {
"line": 50,
"column": 3
}
}
},
{
"type": "CommentBlock",
"value": "*\n * Check passed argument is a boolean\n * @param {Boolean} obj\n * @returns {Boolean}\n ",
"start": 1092,
"end": 1183,
"loc": {
"start": {
"line": 54,
"column": 0
},
"end": {
"line": 58,
"column": 3
}
}
},
{
"type": "CommentBlock",
"value": "*\n * Check passed argument is undefined\n * @param {Any} obj\n * @return {Boolean}\n ",
"start": 1283,
"end": 1371,
"loc": {
"start": {
"line": 62,
"column": 0
},
"end": {
"line": 66,
"column": 3
}
}
},
{
"type": "CommentBlock",
"value": "*\n * Check passed argument is null\n * @param {Any} obj\n * @return {Boolean}\n ",
"start": 1424,
"end": 1507,
"loc": {
"start": {
"line": 69,
"column": 0
},
"end": {
"line": 73,
"column": 3
}
}
},
{
"type": "CommentBlock",
"value": "*\n * Check passed argument is empty (undefined, null or empty string)\n * @param {Any} obj\n * @return {Boolean}\n ",
"start": 1554,
"end": 1672,
"loc": {
"start": {
"line": 76,
"column": 0
},
"end": {
"line": 80,
"column": 3
}
}
}
],
"tokens": [
{
"type": "CommentBlock",
"value": "*\n * Types utilities\n ",
"start": 1,
"end": 27,
"loc": {
"start": {
"line": 2,
"column": 0
},
"end": {
"line": 4,
"column": 3
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 29,
"end": 34,
"loc": {
"start": {
"line": 6,
"column": 0
},
"end": {
"line": 6,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "UNDEFINED",
"start": 35,
"end": 44,
"loc": {
"start": {
"line": 6,
"column": 6
},
"end": {
"line": 6,
"column": 15
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 45,
"end": 46,
"loc": {
"start": {
"line": 6,
"column": 16
},
"end": {
"line": 6,
"column": 17
}
}
},
{
"type": {
"label": "void",
"keyword": "void",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "void",
"start": 47,
"end": 51,
"loc": {
"start": {
"line": 6,
"column": 18
},
"end": {
"line": 6,
"column": 22
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 52,
"end": 53,
"loc": {
"start": {
"line": 6,
"column": 23
},
"end": {
"line": 6,
"column": 24
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 53,
"end": 54,
"loc": {
"start": {
"line": 6,
"column": 24
},
"end": {
"line": 6,
"column": 25
}
}
},
{
"type": "CommentBlock",
"value": "*\n * Return an empty function\n * @return {Function}\n ",
"start": 56,
"end": 113,
"loc": {
"start": {
"line": 8,
"column": 0
},
"end": {
"line": 11,
"column": 3
}
}
},
{
"type": {
"label": "export",
"keyword": "export",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "export",
"start": 114,
"end": 120,
"loc": {
"start": {
"line": 12,
"column": 0
},
"end": {
"line": 12,
"column": 6
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 121,
"end": 126,
"loc": {
"start": {
"line": 12,
"column": 7
},
"end": {
"line": 12,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "EMPTY_FN",
"start": 127,
"end": 135,
"loc": {
"start": {
"line": 12,
"column": 13
},
"end": {
"line": 12,
"column": 21
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 136,
"end": 137,
"loc": {
"start": {
"line": 12,
"column": 22
},
"end": {
"line": 12,
"column": 23
}
}
},
{
"type": {
"label": "function",
"keyword": "function",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "function",
"start": 138,
"end": 146,
"loc": {
"start": {
"line": 12,
"column": 24
},
"end": {
"line": 12,
"column": 32
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 146,
"end": 147,
"loc": {
"start": {
"line": 12,
"column": 32
},
"end": {
"line": 12,
"column": 33
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 147,
"end": 148,
"loc": {
"start": {
"line": 12,
"column": 33
},
"end": {
"line": 12,
"column": 34
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 149,
"end": 150,
"loc": {
"start": {
"line": 12,
"column": 35
},
"end": {
"line": 12,
"column": 36
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 150,
"end": 151,
"loc": {
"start": {
"line": 12,
"column": 36
},
"end": {
"line": 12,
"column": 37
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 151,
"end": 152,
"loc": {
"start": {
"line": 12,
"column": 37
},
"end": {
"line": 12,
"column": 38
}
}
},
{
"type": "CommentBlock",
"value": "*\n * Check passed argument is an object\n * @param {Object} obj\n * @return {Boolean}\n ",
"start": 154,
"end": 245,
"loc": {
"start": {
"line": 14,
"column": 0
},
"end": {
"line": 18,
"column": 3
}
}
},
{
"type": {
"label": "export",
"keyword": "export",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "export",
"start": 246,
"end": 252,
"loc": {
"start": {
"line": 19,
"column": 0
},
"end": {
"line": 19,
"column": 6
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 253,
"end": 258,
"loc": {
"start": {
"line": 19,
"column": 7
},
"end": {
"line": 19,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "isObj",
"start": 259,
"end": 264,
"loc": {
"start": {
"line": 19,
"column": 13
},
"end": {
"line": 19,
"column": 18
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 265,
"end": 266,
"loc": {
"start": {
"line": 19,
"column": 19
},
"end": {
"line": 19,
"column": 20
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 271,
"end": 272,
"loc": {
"start": {
"line": 20,
"column": 4
},
"end": {
"line": 20,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "obj",
"start": 272,
"end": 275,
"loc": {
"start": {
"line": 20,
"column": 5
},
"end": {
"line": 20,
"column": 8
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 275,
"end": 276,
"loc": {
"start": {
"line": 20,
"column": 8
},
"end": {
"line": 20,
"column": 9
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 277,
"end": 279,
"loc": {
"start": {
"line": 20,
"column": 10
},
"end": {
"line": 20,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Object",
"start": 280,
"end": 286,
"loc": {
"start": {
"line": 20,
"column": 13
},
"end": {
"line": 20,
"column": 19
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 286,
"end": 287,
"loc": {
"start": {
"line": 20,
"column": 19
},
"end": {
"line": 20,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "prototype",
"start": 287,
"end": 296,
"loc": {
"start": {
"line": 20,
"column": 20
},
"end": {
"line": 20,
"column": 29
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 296,
"end": 297,
"loc": {
"start": {
"line": 20,
"column": 29
},
"end": {
"line": 20,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "toString",
"start": 297,
"end": 305,
"loc": {
"start": {
"line": 20,
"column": 30
},
"end": {
"line": 20,
"column": 38
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 305,
"end": 306,
"loc": {
"start": {
"line": 20,
"column": 38
},
"end": {
"line": 20,
"column": 39
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "call",
"start": 306,
"end": 310,
"loc": {
"start": {
"line": 20,
"column": 39
},
"end": {
"line": 20,
"column": 43
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 310,
"end": 311,
"loc": {
"start": {
"line": 20,
"column": 43
},
"end": {
"line": 20,
"column": 44
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "obj",
"start": 311,
"end": 314,
"loc": {
"start": {
"line": 20,
"column": 44
},
"end": {
"line": 20,
"column": 47
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 314,
"end": 315,
"loc": {
"start": {
"line": 20,
"column": 47
},
"end": {
"line": 20,
"column": 48
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "===",
"start": 316,
"end": 319,
"loc": {
"start": {
"line": 20,
"column": 49
},
"end": {
"line": 20,
"column": 52
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "[object Object]",
"start": 320,
"end": 337,
"loc": {
"start": {
"line": 20,
"column": 53
},
"end": {
"line": 20,
"column": 70
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 337,
"end": 338,
"loc": {
"start": {
"line": 20,
"column": 70
},
"end": {
"line": 20,
"column": 71
}
}
},
{
"type": "CommentBlock",
"value": "*\n * Check passed argument is a function\n * @param {Function} obj\n * @return {Boolean}\n ",
"start": 340,
"end": 433,
"loc": {
"start": {
"line": 22,
"column": 0
},
"end": {
"line": 26,
"column": 3
}
}
},
{
"type": {
"label": "export",
"keyword": "export",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "export",
"start": 434,
"end": 440,
"loc": {
"start": {
"line": 27,
"column": 0
},
"end": {
"line": 27,
"column": 6
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 441,
"end": 446,
"loc": {
"start": {
"line": 27,
"column": 7
},
"end": {
"line": 27,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "isFn",
"start": 447,
"end": 451,
"loc": {
"start": {
"line": 27,
"column": 13
},
"end": {
"line": 27,
"column": 17
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 452,
"end": 453,
"loc": {
"start": {
"line": 27,
"column": 18
},
"end": {
"line": 27,
"column": 19
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 458,
"end": 459,
"loc": {
"start": {
"line": 28,
"column": 4
},
"end": {
"line": 28,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "obj",
"start": 459,
"end": 462,
"loc": {
"start": {
"line": 28,
"column": 5
},
"end": {
"line": 28,
"column": 8
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 462,
"end": 463,
"loc": {
"start": {
"line": 28,
"column": 8
},
"end": {
"line": 28,
"column": 9
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 464,
"end": 466,
"loc": {
"start": {
"line": 28,
"column": 10
},
"end": {
"line": 28,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Object",
"start": 467,
"end": 473,
"loc": {
"start": {
"line": 28,
"column": 13
},
"end": {
"line": 28,
"column": 19
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 473,
"end": 474,
"loc": {
"start": {
"line": 28,
"column": 19
},
"end": {
"line": 28,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "prototype",
"start": 474,
"end": 483,
"loc": {
"start": {
"line": 28,
"column": 20
},
"end": {
"line": 28,
"column": 29
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 483,
"end": 484,
"loc": {
"start": {
"line": 28,
"column": 29
},
"end": {
"line": 28,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "toString",
"start": 484,
"end": 492,
"loc": {
"start": {
"line": 28,
"column": 30
},
"end": {
"line": 28,
"column": 38
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 492,
"end": 493,
"loc": {
"start": {
"line": 28,
"column": 38
},
"end": {
"line": 28,
"column": 39
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "call",
"start": 493,
"end": 497,
"loc": {
"start": {
"line": 28,
"column": 39
},
"end": {
"line": 28,
"column": 43
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 497,
"end": 498,
"loc": {
"start": {
"line": 28,
"column": 43
},
"end": {
"line": 28,
"column": 44
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "obj",
"start": 498,
"end": 501,
"loc": {
"start": {
"line": 28,
"column": 44
},
"end": {
"line": 28,
"column": 47
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 501,
"end": 502,
"loc": {
"start": {
"line": 28,
"column": 47
},
"end": {
"line": 28,
"column": 48
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "===",
"start": 503,
"end": 506,
"loc": {
"start": {
"line": 28,
"column": 49
},
"end": {
"line": 28,
"column": 52
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "[object Function]",
"start": 507,
"end": 526,
"loc": {
"start": {
"line": 28,
"column": 53
},
"end": {
"line": 28,
"column": 72
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 526,
"end": 527,
"loc": {
"start": {
"line": 28,
"column": 72
},
"end": {
"line": 28,
"column": 73
}
}
},
{
"type": "CommentBlock",
"value": "*\n * Check passed argument is an array\n * @param {Array} obj\n * @return {Boolean}\n ",
"start": 529,
"end": 618,
"loc": {
"start": {
"line": 30,
"column": 0
},
"end": {
"line": 34,
"column": 3
}
}
},
{
"type": {
"label": "export",
"keyword": "export",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "export",
"start": 619,
"end": 625,
"loc": {
"start": {
"line": 35,
"column": 0
},
"end": {
"line": 35,
"column": 6
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 626,
"end": 631,
"loc": {
"start": {
"line": 35,
"column": 7
},
"end": {
"line": 35,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "isArray",
"start": 632,
"end": 639,
"loc": {
"start": {
"line": 35,
"column": 13
},
"end": {
"line": 35,
"column": 20
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 640,
"end": 641,
"loc": {
"start": {
"line": 35,
"column": 21
},
"end": {
"line": 35,
"column": 22
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 646,
"end": 647,
"loc": {
"start": {
"line": 36,
"column": 4
},
"end": {
"line": 36,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "obj",
"start": 647,
"end": 650,
"loc": {
"start": {
"line": 36,
"column": 5
},
"end": {
"line": 36,
"column": 8
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 650,
"end": 651,
"loc": {
"start": {
"line": 36,
"column": 8
},
"end": {
"line": 36,
"column": 9
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 652,
"end": 654,
"loc": {
"start": {
"line": 36,
"column": 10
},
"end": {
"line": 36,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Object",
"start": 655,
"end": 661,
"loc": {
"start": {
"line": 36,
"column": 13
},
"end": {
"line": 36,
"column": 19
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 661,
"end": 662,
"loc": {
"start": {
"line": 36,
"column": 19
},
"end": {
"line": 36,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "prototype",
"start": 662,
"end": 671,
"loc": {
"start": {
"line": 36,
"column": 20
},
"end": {
"line": 36,
"column": 29
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 671,
"end": 672,
"loc": {
"start": {
"line": 36,
"column": 29
},
"end": {
"line": 36,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "toString",
"start": 672,
"end": 680,
"loc": {
"start": {
"line": 36,
"column": 30
},
"end": {
"line": 36,
"column": 38
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 680,
"end": 681,
"loc": {
"start": {
"line": 36,
"column": 38
},
"end": {
"line": 36,
"column": 39
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "call",
"start": 681,
"end": 685,
"loc": {
"start": {
"line": 36,
"column": 39
},
"end": {
"line": 36,
"column": 43
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 685,
"end": 686,
"loc": {
"start": {
"line": 36,
"column": 43
},
"end": {
"line": 36,
"column": 44
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "obj",
"start": 686,
"end": 689,
"loc": {
"start": {
"line": 36,
"column": 44
},
"end": {
"line": 36,
"column": 47
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 689,
"end": 690,
"loc": {
"start": {
"line": 36,
"column": 47
},
"end": {
"line": 36,
"column": 48
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "===",
"start": 691,
"end": 694,
"loc": {
"start": {
"line": 36,
"column": 49
},
"end": {
"line": 36,
"column": 52
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "[object Array]",
"start": 695,
"end": 711,
"loc": {
"start": {
"line": 36,
"column": 53
},
"end": {
"line": 36,
"column": 69
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 711,
"end": 712,
"loc": {
"start": {
"line": 36,
"column": 69
},
"end": {
"line": 36,
"column": 70
}
}
},
{
"type": "CommentBlock",
"value": "*\n * Check passed argument is a string\n * @param {String} obj obj\n * @returns {Boolean}\n ",
"start": 714,
"end": 807,
"loc": {
"start": {
"line": 38,
"column": 0
},
"end": {
"line": 42,
"column": 3
}
}
},
{
"type": {
"label": "export",
"keyword": "export",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "export",
"start": 808,
"end": 814,
"loc": {
"start": {
"line": 43,
"column": 0
},
"end": {
"line": 43,
"column": 6
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 815,
"end": 820,
"loc": {
"start": {
"line": 43,
"column": 7
},
"end": {
"line": 43,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "isString",
"start": 821,
"end": 829,
"loc": {
"start": {
"line": 43,
"column": 13
},
"end": {
"line": 43,
"column": 21
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 830,
"end": 831,
"loc": {
"start": {
"line": 43,
"column": 22
},
"end": {
"line": 43,
"column": 23
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 836,
"end": 837,
"loc": {
"start": {
"line": 44,
"column": 4
},
"end": {
"line": 44,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "obj",
"start": 837,
"end": 840,
"loc": {
"start": {
"line": 44,
"column": 5
},
"end": {
"line": 44,
"column": 8
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 840,
"end": 841,
"loc": {
"start": {
"line": 44,
"column": 8
},
"end": {
"line": 44,
"column": 9
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 842,
"end": 844,
"loc": {
"start": {
"line": 44,
"column": 10
},
"end": {
"line": 44,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Object",
"start": 845,
"end": 851,
"loc": {
"start": {
"line": 44,
"column": 13
},
"end": {
"line": 44,
"column": 19
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 851,
"end": 852,
"loc": {
"start": {
"line": 44,
"column": 19
},
"end": {
"line": 44,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "prototype",
"start": 852,
"end": 861,
"loc": {
"start": {
"line": 44,
"column": 20
},
"end": {
"line": 44,
"column": 29
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 861,
"end": 862,
"loc": {
"start": {
"line": 44,
"column": 29
},
"end": {
"line": 44,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "toString",
"start": 862,
"end": 870,
"loc": {
"start": {
"line": 44,
"column": 30
},
"end": {
"line": 44,
"column": 38
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 870,
"end": 871,
"loc": {
"start": {
"line": 44,
"column": 38
},
"end": {
"line": 44,
"column": 39
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "call",
"start": 871,
"end": 875,
"loc": {
"start": {
"line": 44,
"column": 39
},
"end": {
"line": 44,
"column": 43
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 875,
"end": 876,
"loc": {
"start": {
"line": 44,
"column": 43
},
"end": {
"line": 44,
"column": 44
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "obj",
"start": 876,
"end": 879,
"loc": {
"start": {
"line": 44,
"column": 44
},
"end": {
"line": 44,
"column": 47
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 879,
"end": 880,
"loc": {
"start": {
"line": 44,
"column": 47
},
"end": {
"line": 44,
"column": 48
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "===",
"start": 881,
"end": 884,
"loc": {
"start": {
"line": 44,
"column": 49
},
"end": {
"line": 44,
"column": 52
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "[object String]",
"start": 885,
"end": 902,
"loc": {
"start": {
"line": 44,
"column": 53
},
"end": {
"line": 44,
"column": 70
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 902,
"end": 903,
"loc": {
"start": {
"line": 44,
"column": 70
},
"end": {
"line": 44,
"column": 71
}
}
},
{
"type": "CommentBlock",
"value": "*\n * Check passed argument is a number\n * @param {Number} obj\n * @returns {Boolean}\n ",
"start": 905,
"end": 994,
"loc": {
"start": {
"line": 46,
"column": 0
},
"end": {
"line": 50,
"column": 3
}
}
},
{
"type": {
"label": "export",
"keyword": "export",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "export",
"start": 995,
"end": 1001,
"loc": {
"start": {
"line": 51,
"column": 0
},
"end": {
"line": 51,
"column": 6
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 1002,
"end": 1007,
"loc": {
"start": {
"line": 51,
"column": 7
},
"end": {
"line": 51,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "isNumber",
"start": 1008,
"end": 1016,
"loc": {
"start": {
"line": 51,
"column": 13
},
"end": {
"line": 51,
"column": 21
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1017,
"end": 1018,
"loc": {
"start": {
"line": 51,
"column": 22
},
"end": {
"line": 51,
"column": 23
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1023,
"end": 1024,
"loc": {
"start": {
"line": 52,
"column": 4
},
"end": {
"line": 52,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "obj",
"start": 1024,
"end": 1027,
"loc": {
"start": {
"line": 52,
"column": 5
},
"end": {
"line": 52,
"column": 8
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1027,
"end": 1028,
"loc": {
"start": {
"line": 52,
"column": 8
},
"end": {
"line": 52,
"column": 9
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1029,
"end": 1031,
"loc": {
"start": {
"line": 52,
"column": 10
},
"end": {
"line": 52,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Object",
"start": 1032,
"end": 1038,
"loc": {
"start": {
"line": 52,
"column": 13
},
"end": {
"line": 52,
"column": 19
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1038,
"end": 1039,
"loc": {
"start": {
"line": 52,
"column": 19
},
"end": {
"line": 52,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "prototype",
"start": 1039,
"end": 1048,
"loc": {
"start": {
"line": 52,
"column": 20
},
"end": {
"line": 52,
"column": 29
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1048,
"end": 1049,
"loc": {
"start": {
"line": 52,
"column": 29
},
"end": {
"line": 52,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "toString",
"start": 1049,
"end": 1057,
"loc": {
"start": {
"line": 52,
"column": 30
},
"end": {
"line": 52,
"column": 38
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1057,
"end": 1058,
"loc": {
"start": {
"line": 52,
"column": 38
},
"end": {
"line": 52,
"column": 39
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "call",
"start": 1058,
"end": 1062,
"loc": {
"start": {
"line": 52,
"column": 39
},
"end": {
"line": 52,
"column": 43
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1062,
"end": 1063,
"loc": {
"start": {
"line": 52,
"column": 43
},
"end": {
"line": 52,
"column": 44
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "obj",
"start": 1063,
"end": 1066,
"loc": {
"start": {
"line": 52,
"column": 44
},
"end": {
"line": 52,
"column": 47
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1066,
"end": 1067,
"loc": {
"start": {
"line": 52,
"column": 47
},
"end": {
"line": 52,
"column": 48
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "===",
"start": 1068,
"end": 1071,
"loc": {
"start": {
"line": 52,
"column": 49
},
"end": {
"line": 52,
"column": 52
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "[object Number]",
"start": 1072,
"end": 1089,
"loc": {
"start": {
"line": 52,
"column": 53
},
"end": {
"line": 52,
"column": 70
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1089,
"end": 1090,
"loc": {
"start": {
"line": 52,
"column": 70
},
"end": {
"line": 52,
"column": 71
}
}
},
{
"type": "CommentBlock",
"value": "*\n * Check passed argument is a boolean\n * @param {Boolean} obj\n * @returns {Boolean}\n ",
"start": 1092,
"end": 1183,
"loc": {
"start": {
"line": 54,
"column": 0
},
"end": {
"line": 58,
"column": 3
}
}
},
{
"type": {
"label": "export",
"keyword": "export",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "export",
"start": 1184,
"end": 1190,
"loc": {
"start": {
"line": 59,
"column": 0
},
"end": {
"line": 59,
"column": 6
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 1191,
"end": 1196,
"loc": {
"start": {
"line": 59,
"column": 7
},
"end": {
"line": 59,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "isBoolean",
"start": 1197,
"end": 1206,
"loc": {
"start": {
"line": 59,
"column": 13
},
"end": {
"line": 59,
"column": 22
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1207,
"end": 1208,
"loc": {
"start": {
"line": 59,
"column": 23
},
"end": {
"line": 59,
"column": 24
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1213,
"end": 1214,
"loc": {
"start": {
"line": 60,
"column": 4
},
"end": {
"line": 60,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "obj",
"start": 1214,
"end": 1217,
"loc": {
"start": {
"line": 60,
"column": 5
},
"end": {
"line": 60,
"column": 8
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1217,
"end": 1218,
"loc": {
"start": {
"line": 60,
"column": 8
},
"end": {
"line": 60,
"column": 9
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1219,
"end": 1221,
"loc": {
"start": {
"line": 60,
"column": 10
},
"end": {
"line": 60,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Object",
"start": 1222,
"end": 1228,
"loc": {
"start": {
"line": 60,
"column": 13
},
"end": {
"line": 60,
"column": 19
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1228,
"end": 1229,
"loc": {
"start": {
"line": 60,
"column": 19
},
"end": {
"line": 60,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "prototype",
"start": 1229,
"end": 1238,
"loc": {
"start": {
"line": 60,
"column": 20
},
"end": {
"line": 60,
"column": 29
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1238,
"end": 1239,
"loc": {
"start": {
"line": 60,
"column": 29
},
"end": {
"line": 60,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "toString",
"start": 1239,
"end": 1247,
"loc": {
"start": {
"line": 60,
"column": 30
},
"end": {
"line": 60,
"column": 38
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1247,
"end": 1248,
"loc": {
"start": {
"line": 60,
"column": 38
},
"end": {
"line": 60,
"column": 39
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "call",
"start": 1248,
"end": 1252,
"loc": {
"start": {
"line": 60,
"column": 39
},
"end": {
"line": 60,
"column": 43
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1252,
"end": 1253,
"loc": {
"start": {
"line": 60,
"column": 43
},
"end": {
"line": 60,
"column": 44
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "obj",
"start": 1253,
"end": 1256,
"loc": {
"start": {
"line": 60,
"column": 44
},
"end": {
"line": 60,
"column": 47
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1256,
"end": 1257,
"loc": {
"start": {
"line": 60,
"column": 47
},
"end": {
"line": 60,
"column": 48
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "===",
"start": 1258,
"end": 1261,
"loc": {
"start": {
"line": 60,
"column": 49
},
"end": {
"line": 60,
"column": 52
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "[object Boolean]",
"start": 1262,
"end": 1280,
"loc": {
"start": {
"line": 60,
"column": 53
},
"end": {
"line": 60,
"column": 71
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1280,
"end": 1281,
"loc": {
"start": {
"line": 60,
"column": 71
},
"end": {
"line": 60,
"column": 72
}
}
},
{
"type": "CommentBlock",
"value": "*\n * Check passed argument is undefined\n * @param {Any} obj\n * @return {Boolean}\n ",
"start": 1283,
"end": 1371,
"loc": {
"start": {
"line": 62,
"column": 0
},
"end": {
"line": 66,
"column": 3
}
}
},
{
"type": {
"label": "export",
"keyword": "export",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "export",
"start": 1372,
"end": 1378,
"loc": {
"start": {
"line": 67,
"column": 0
},
"end": {
"line": 67,
"column": 6
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 1379,
"end": 1384,
"loc": {
"start": {
"line": 67,
"column": 7
},
"end": {
"line": 67,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "isUndef",
"start": 1385,
"end": 1392,
"loc": {
"start": {
"line": 67,
"column": 13
},
"end": {
"line": 67,
"column": 20
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1393,
"end": 1394,
"loc": {
"start": {
"line": 67,
"column": 21
},
"end": {
"line": 67,
"column": 22
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1395,
"end": 1396,
"loc": {
"start": {
"line": 67,
"column": 23
},
"end": {
"line": 67,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "obj",
"start": 1396,
"end": 1399,
"loc": {
"start": {
"line": 67,
"column": 24
},
"end": {
"line": 67,
"column": 27
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1399,
"end": 1400,
"loc": {
"start": {
"line": 67,
"column": 27
},
"end": {
"line": 67,
"column": 28
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1401,
"end": 1403,
"loc": {
"start": {
"line": 67,
"column": 29
},
"end": {
"line": 67,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "obj",
"start": 1404,
"end": 1407,
"loc": {
"start": {
"line": 67,
"column": 32
},
"end": {
"line": 67,
"column": 35
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "===",
"start": 1408,
"end": 1411,
"loc": {
"start": {
"line": 67,
"column": 36
},
"end": {
"line": 67,
"column": 39
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "UNDEFINED",
"start": 1412,
"end": 1421,
"loc": {
"start": {
"line": 67,
"column": 40
},
"end": {
"line": 67,
"column": 49
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1421,
"end": 1422,
"loc": {
"start": {
"line": 67,
"column": 49
},
"end": {
"line": 67,
"column": 50
}
}
},
{
"type": "CommentBlock",
"value": "*\n * Check passed argument is null\n * @param {Any} obj\n * @return {Boolean}\n ",
"start": 1424,
"end": 1507,
"loc": {
"start": {
"line": 69,
"column": 0
},
"end": {
"line": 73,
"column": 3
}
}
},
{
"type": {
"label": "export",
"keyword": "export",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "export",
"start": 1508,
"end": 1514,
"loc": {
"start": {
"line": 74,
"column": 0
},
"end": {
"line": 74,
"column": 6
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 1515,
"end": 1520,
"loc": {
"start": {
"line": 74,
"column": 7
},
"end": {
"line": 74,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "isNull",
"start": 1521,
"end": 1527,
"loc": {
"start": {
"line": 74,
"column": 13
},
"end": {
"line": 74,
"column": 19
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1528,
"end": 1529,
"loc": {
"start": {
"line": 74,
"column": 20
},
"end": {
"line": 74,
"column": 21
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1530,
"end": 1531,
"loc": {
"start": {
"line": 74,
"column": 22
},
"end": {
"line": 74,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "obj",
"start": 1531,
"end": 1534,
"loc": {
"start": {
"line": 74,
"column": 23
},
"end": {
"line": 74,
"column": 26
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1534,
"end": 1535,
"loc": {
"start": {
"line": 74,
"column": 26
},
"end": {
"line": 74,
"column": 27
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1536,
"end": 1538,
"loc": {
"start": {
"line": 74,
"column": 28
},
"end": {
"line": 74,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "obj",
"start": 1539,
"end": 1542,
"loc": {
"start": {
"line": 74,
"column": 31
},
"end": {
"line": 74,
"column": 34
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "===",
"start": 1543,
"end": 1546,
"loc": {
"start": {
"line": 74,
"column": 35
},
"end": {
"line": 74,
"column": 38
}
}
},
{
"type": {
"label": "null",
"keyword": "null",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "null",
"start": 1547,
"end": 1551,
"loc": {
"start": {
"line": 74,
"column": 39
},
"end": {
"line": 74,
"column": 43
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1551,
"end": 1552,
"loc": {
"start": {
"line": 74,
"column": 43
},
"end": {
"line": 74,
"column": 44
}
}
},
{
"type": "CommentBlock",
"value": "*\n * Check passed argument is empty (undefined, null or empty string)\n * @param {Any} obj\n * @return {Boolean}\n ",
"start": 1554,
"end": 1672,
"loc": {
"start": {
"line": 76,
"column": 0
},
"end": {
"line": 80,
"column": 3
}
}
},
{
"type": {
"label": "export",
"keyword": "export",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "export",
"start": 1673,
"end": 1679,
"loc": {
"start": {
"line": 81,
"column": 0
},
"end": {
"line": 81,
"column": 6
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 1680,
"end": 1685,
"loc": {
"start": {
"line": 81,
"column": 7
},
"end": {
"line": 81,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "isEmpty",
"start": 1686,
"end": 1693,
"loc": {
"start": {
"line": 81,
"column": 13
},
"end": {
"line": 81,
"column": 20
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1694,
"end": 1695,
"loc": {
"start": {
"line": 81,
"column": 21
},
"end": {
"line": 81,
"column": 22
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1696,
"end": 1697,
"loc": {
"start": {
"line": 81,
"column": 23
},
"end": {
"line": 81,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "obj",
"start": 1697,
"end": 1700,
"loc": {
"start": {
"line": 81,
"column": 24
},
"end": {
"line": 81,
"column": 27
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1700,
"end": 1701,
"loc": {
"start": {
"line": 81,
"column": 27
},
"end": {
"line": 81,
"column": 28
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1702,
"end": 1704,
"loc": {
"start": {
"line": 81,
"column": 29
},
"end": {
"line": 81,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "isUndef",
"start": 1705,
"end": 1712,
"loc": {
"start": {
"line": 81,
"column": 32
},
"end": {
"line": 81,
"column": 39
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1712,
"end": 1713,
"loc": {
"start": {
"line": 81,
"column": 39
},
"end": {
"line": 81,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "obj",
"start": 1713,
"end": 1716,
"loc": {
"start": {
"line": 81,
"column": 40
},
"end": {
"line": 81,
"column": 43
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1716,
"end": 1717,
"loc": {
"start": {
"line": 81,
"column": 43
},
"end": {
"line": 81,
"column": 44
}
}
},
{
"type": {
"label": "||",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 1,
"updateContext": null
},
"value": "||",
"start": 1718,
"end": 1720,
"loc": {
"start": {
"line": 81,
"column": 45
},
"end": {
"line": 81,
"column": 47
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "isNull",
"start": 1721,
"end": 1727,
"loc": {
"start": {
"line": 81,
"column": 48
},
"end": {
"line": 81,
"column": 54
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1727,
"end": 1728,
"loc": {
"start": {
"line": 81,
"column": 54
},
"end": {
"line": 81,
"column": 55
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "obj",
"start": 1728,
"end": 1731,
"loc": {
"start": {
"line": 81,
"column": 55
},
"end": {
"line": 81,
"column": 58
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1731,
"end": 1732,
"loc": {
"start": {
"line": 81,
"column": 58
},
"end": {
"line": 81,
"column": 59
}
}
},
{
"type": {
"label": "||",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 1,
"updateContext": null
},
"value": "||",
"start": 1733,
"end": 1735,
"loc": {
"start": {
"line": 81,
"column": 60
},
"end": {
"line": 81,
"column": 62
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "obj",
"start": 1736,
"end": 1739,
"loc": {
"start": {
"line": 81,
"column": 63
},
"end": {
"line": 81,
"column": 66
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1739,
"end": 1740,
"loc": {
"start": {
"line": 81,
"column": 66
},
"end": {
"line": 81,
"column": 67
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "length",
"start": 1740,
"end": 1746,
"loc": {
"start": {
"line": 81,
"column": 67
},
"end": {
"line": 81,
"column": 73
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "===",
"start": 1747,
"end": 1750,
"loc": {
"start": {
"line": 81,
"column": 74
},
"end": {
"line": 81,
"column": 77
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 1751,
"end": 1752,
"loc": {
"start": {
"line": 81,
"column": 78
},
"end": {
"line": 81,
"column": 79
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1752,
"end": 1753,
"loc": {
"start": {
"line": 81,
"column": 79
},
"end": {
"line": 81,
"column": 80
}
}
},
{
"type": {
"label": "eof",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1754,
"end": 1754,
"loc": {
"start": {
"line": 82,
"column": 0
},
"end": {
"line": 82,
"column": 0
}
}
}
]
}