feat: add neq.

This commit is contained in:
redxef 2024-10-27 00:29:56 +02:00
parent f1dcb31682
commit b4574497e6
Signed by: redxef
GPG key ID: 7DAC3AA211CBD921

View file

@ -112,6 +112,7 @@ namespace Jellyfin.Plugin.SmartPlaylist.Lisp {
this["<="] = _le; this["<="] = _le;
this["eq?"] = _eq; this["eq?"] = _eq;
this["="] = _eq; this["="] = _eq;
this["!="] = _ne;
this["abs"] = _abs; this["abs"] = _abs;
this["append"] = _append; this["append"] = _append;
this["begin"] = _begin; this["begin"] = _begin;
@ -123,7 +124,6 @@ namespace Jellyfin.Plugin.SmartPlaylist.Lisp {
this["haskeys"] = _haskeys; this["haskeys"] = _haskeys;
this["getitems"] = _getitems; this["getitems"] = _getitems;
this["invoke"] = _invoke; this["invoke"] = _invoke;
//this[new Symbol("!=")] = _ne;
} }
private static T _agg<T>(Func<T, T, T> op, IList<T> args) { private static T _agg<T>(Func<T, T, T> op, IList<T> args) {