Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Remove unsupported encode options

...

The encode() operator takes an optional map as an argument containing options for encoding. 

...

numeric argument specifying that the map should be pretty printed with newlines and indents with that number of spaces.

filter()

The filter() operator takes a function as its only argument and returns a map. The new map contains any members of the original map for which the function evaluates to true. The function given as the argument must take two arguments and return a Boolean value. The function is applied to the key and value of each member of the map in turn. The number of elements in the new map will be less than or equal to the length of the original map. For example:

...