r::is_delete PHP Method

is_delete() static public method

Checks if the current request is a DELETE request
static public is_delete ( ) : boolean
return boolean
    static function is_delete()
    {
        return self::method() == 'DELETE' ? true : false;
    }