-
Notifications
You must be signed in to change notification settings - Fork 2
array_contains
Hyomoto edited this page Oct 18, 2020
·
2 revisions
| Jump To | Go Back |
Arguments | Methods | Variables |
|---|
Returns: array ([values...])
Returns the index of the first found instance of value in array. If it does not exist, returns -1 instead.
var _contains = array_contains( [ "eggs", "bread", "milk" ], "bread" );
show_debug_message( _contains );| Name | Type | Purpose |
|---|---|---|
| array | array |
none provided |
| value | mixed |
none provided |
Devon Mullane 2020