The |!=={value} filter is used to check whether the filtered element is not identical to the value, i.e. whether it has a different value or a different PHP type.

Unlike the |!={value} filter, the type of the 2 elements is tested: this can be useful when the values being compared are potentially equal according to ’==’ but of different types. For example, the boolean false and the empty string.

See also filter |!={a}

Author jack Published :

Translations : English, français