Boolean Array.has (Mixed val) vs. 1.1.0 Full+Lite

Check if the array has a value.

Parameters

Mixed val Required vs. 1.1.0 Full+Lite
The value to search for in the array.

Return

Boolean Required vs. 1.1.0 Full+Lite
True if the array has the value or false if it doesn't.

Examples

Using Array.has(val)
Demo: