Om

Finds the Operator, and its Operand mapping (if any), in a Lexicon.

Input
{operator} {lexicon}
Output
  • If the Operator is found:
    • If an Operand is mapped to the Operator:

      {lexicon}{operator{operand}}

    • Else:

      {lexicon}{operator{}}

  • Else:

    {lexicon}{}

Implementation
Om::Language::Operation::FindOperation