helpers/wrap_array

(require("helpers/wrap_array"))(valOrArr) → {Array}

Wrap value in array if it is not an array.

Source:
Parameters:
Name Type Description
valOrArr *
Returns:
Type:
Array