Closed mattpal closed 2 years ago
Hi - for a project I'm working on it looks like we might need two additional operations:
starts_with (kind of like "in", but at beginning) contains (the opposite of "missing")
@mattpal you can add custom operations to your JsonLogic object using the addOperation method:
addOperation
jsonLogic.addOperation("greet", (args) -> "Hello, " + args[0] + "!");
Hi - for a project I'm working on it looks like we might need two additional operations:
starts_with (kind of like "in", but at beginning) contains (the opposite of "missing")