@use 'sass:list';

/**
 * Checks whether a given value exists in a given list.
 *
 * @param    {list}      $list      The input list.
 * @param    {*}         $search    The searched value.
 *
 * @return   {bool}
 */
@function list-includes($list, $search) {
	@return list.index($list, $search) != null;
}
