Statements (23)
Predicate | Object |
---|---|
gptkbp:instance_of |
gptkb:Mathematics
|
gptkbp:accepts |
from Index
value To Find |
gptkbp:belongs_to |
gptkb:Matrix
|
gptkbp:can_be_called_on |
any array instance
|
gptkbp:can_be_polyfilled |
for older environments
|
gptkbp:can_be_used_with |
arrays
|
gptkbp:data_return |
gptkb:Logic
|
gptkbp:has_a_time_complexity_of |
O(n)
|
https://www.w3.org/2000/01/rdf-schema#label |
Array.prototype.includes
|
gptkbp:introduced_in |
gptkb:Java_Script_2015
|
gptkbp:is |
part of ECMAScript 2015 (ES6)
|
gptkbp:is_case_sensitive |
gptkb:true
|
gptkbp:is_defined_by |
the Array prototype
|
gptkbp:is_similar_to |
Array.prototype.index Of
|
gptkbp:is_supported_by |
gptkb:Internet_Explorer_11
modern browsers |
gptkbp:is_used_to_check |
the presence of an element in an array
|
gptkbp:returns_false |
if value is not found
|
gptkbp:returns_true |
if value is found
|
gptkbp:security |
if value is present in array
|
gptkbp:bfsParent |
gptkb:Spider-Man
|
gptkbp:bfsLayer |
4
|