pike.hubbe.net

[Top]
previous`-() `!=()next

Method `!()


Method `!

int(0..1) `!(object|function arg)
int(1..1) `!(int(0..0) arg)
int(0..0) `!(mixed arg)

Description

Negation operator.

Returns

If arg is an object that implements lfun::`!, that function will be called.

If arg is 0 (zero), a destructed object, or a function in a destructed object, 1 will be returned.

Otherwise 0 (zero) will be returned.

See also

`==, `!=, lfun::`!


Extracted from Pike v7.3 release 11 at 2001-11-03.