Method lfun::_m_delete()


Method _m_delete

mixed _m_delete(mixed arg, mixed|void expected)

Description

Delete index callback.

Element at index arg should be deleted and its value returned (when expected has been specified, only if the value is `==() with expected).

Returns

Returns the value that was at arg if it was deleted and UNDEFINED otherwise.

Note

The expected argument was added in Pike 9.0.

See also

m_delete()