Statements (22)
| Predicate | Object |
|---|---|
| gptkbp:instanceOf |
gptkb:JavaScript_method
|
| gptkbp:canBe |
arrays
array-like objects |
| gptkbp:caseSensitive |
true
|
| gptkbp:compatibleWith |
gptkb:Internet_Explorer
|
| gptkbp:definedIn |
gptkb:ECMAScript_2016
|
| gptkbp:distinctFrom |
indexOf returns index, includes returns boolean
|
| gptkbp:introducedIn |
gptkb:ES7
|
| gptkbp:isPrototypeMethodOf |
Array
|
| gptkbp:MDNReference |
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/includes
|
| gptkbp:parameter |
fromIndex
searchElement |
| gptkbp:polyfillAvailable |
true
|
| gptkbp:result |
boolean
|
| gptkbp:returnsFalseIf |
array does not contain searchElement
|
| gptkbp:returnsTrueIf |
array contains searchElement
|
| gptkbp:similarTo |
Array.prototype.indexOf
|
| gptkbp:usedFor |
checking if an array contains a certain element
|
| gptkbp:bfsParent |
gptkb:ES2016
gptkb:ECMAScript_2016 |
| gptkbp:bfsLayer |
6
|
| https://www.w3.org/2000/01/rdf-schema#label |
Array.prototype.includes
|