21 lines
324 B
Markdown
21 lines
324 B
Markdown
# Contains
|
||||
|
|
|
|||
|
|
Determines whether a stack contains an element with the specified value.
|
|||
|
|
|
|||
|
|
```
|
|||
|
|
bool Contains(
|
|||
|
|
T item // the search value
|
|||
|
|
);
|
|||
|
|
|
|||
|
|
```
|
|||
|
|
|
|||
|
|
Parameters
|
|||
|
|
|
|||
|
|
item
|
|||
|
|
|
|||
|
|
[in] The searched value.
|
|||
|
|
|
|||
|
|
Return Value
|
|||
|
|
|
|||
|
|
Returns true if an element with the specified value is found in the stack, or false otherwise.
|