Namespace Array


namespace Array
Additions to the Array prototype.

Function Summary
public Boolean gcontains (String needle)
Check if a given needle exists in the current array.

Function Details

function gcontains

public Boolean gcontains(String needle)
Check if a given needle exists in the current array. gcontains is used to avoid conflict.
Parameters:
needle The needle/key to find in the current array
Returns:
True if the key is in the array