Skip to content

Latest commit

 

History

History
10 lines (8 loc) · 186 Bytes

in_array.sh.md

File metadata and controls

10 lines (8 loc) · 186 Bytes

in_array

in_array -- Checks if a value exists in an array.

Searches haystack for needle.

Usage

// 1. Command form.
bool sub::in_array(string needle, string[]* haystack)