Semi Mod Loader
Static Public Member Functions | List of all members
Semi.ArrayExt Class Reference

Static Public Member Functions

static bool Contains (this Array ary, object obj)
 Extension method to check whether the array contains an element (in O(n) time). More...
 

Member Function Documentation

◆ Contains()

static bool Semi.ArrayExt.Contains ( this Array  ary,
object  obj 
)
inlinestatic

Extension method to check whether the array contains an element (in O(n) time).

Returns
true, if the array contains the object, false otherwise.
Parameters
aryTarget array.
objObject to search for.

The documentation for this class was generated from the following file: