Utility function to convert hexadecimal colors to strings, and simply return the color if it's a string.
This version can also convert array of colors
| Name | Type | Attribute | Description |
|---|---|---|---|
| array1 | First array to compare |
||
| array2 | Second array to compare |
{
"comment": "/**\n * Utility function to convert hexadecimal colors to strings, and simply return the color if it's a string.\n * This version can also convert array of colors\n *\n * @param {Array} array1 First array to compare\n * @param {Array} array2 Second array to compare\n * @return {boolean} Do the arrays contain the same values in the same order\n */",
"meta": {
"range": [
13976,
14345
],
"filename": "TextStyle.js",
"lineno": 535,
"path": "C:\\Users\\beaujeup\\projects\\jsdoc-template\\examples\\pixi.js\\pixi.js-repo\\src\\core\\text",
"code": {
"id": "astnode100041164",
"name": "areArraysEqual",
"type": "FunctionDeclaration",
"paramnames": [
"array1",
"array2"
]
},
"vars": {
"i": "areArraysEqual~i"
}
},
"description": "Utility function to convert hexadecimal colors to strings, and simply return the color if it's a string.
This version can also convert array of colors
",
"params": [
{
"type": {
"names": [
"Array"
]
},
"description": "First array to compare
",
"name": "array1"
},
{
"type": {
"names": [
"Array"
]
},
"description": "Second array to compare
",
"name": "array2"
}
],
"returns": [
{
"type": {
"names": [
"boolean"
]
},
"description": "Do the arrays contain the same values in the same order
"
}
],
"name": "areArraysEqual",
"longname": "areArraysEqual",
"kind": "function",
"scope": "global",
"___id": "T000002R003781",
"___s": true,
"filepath": "core\\text\\TextStyle.js"
}