arrayFind

function

arrayFind(array, item)

Description

Finds a value in an array and returns its index.

Arguments

Name Type Description
array array The array
item any Item to find
all bool Whether to find all of the occurrences or just the first. All will be returned in an array. (default: false)

Returns

real/array


Copyright © 2021, Milan Varady. Built on June 28, 2021 using GMDoc.