Extracted from Pike v7.3 release 18 at 2002-03-27.
pike.roxen.com
[Top]

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::`!()