ne

Summary

Returns true if one or more of the input parameters do not match.

Usage

ne( value1, value2 [, ...] )

Parameters

NameTypeDescriptionRequired
value1 mixed Value to be evaluated. Yes.
value2 mixed Value to be evaluated. Yes.
...

Returns

True or nothing.

Description

This operator returns true if one or more of the parameters do not match. Matching is casual. This means that an integer of value 0 will match a boolean of type false. If all parameters match, the operator will not return anything.

Examples

Example 1

{ne( 2, 2, 3 )}

returns true.

Example 2

{ne( 2, 2, 2 )}

does not return anything.

Comments

Contents

Reference

Database diagram
Template operators
    PDF
    Arrays
    Data extraction
    Formatting
    Images
    Logic
       and
       choose
       cond
       eq
       false
       first_set
       ge
       gt
       le
       lt
       ne
       not
       null
       or
       true
    Mathematics
    Miscellaneous
    Strings
    URLs
    Variables
Template functions
Data fetching
Modules
XML tags


Created

05/02/2004
11:42:19 am
by Balazs Halasy

Last updated

11/02/2004
12:56:43 pm
by Balazs Halasy

Authors

Balazs Halasy



This page is part of the Exponential documentation. The documentation is available under the GNU Free Documentation License. All contributions will be released under the terms of this license.