JMESPath::Nodes::Function
# File lib/jmespath/nodes/function.rb, line 289 def call(args) if args.count == 1 TYPE_NAMES[get_type(args.first)] else return maybe_raise Errors::InvalidArityError, "function type() expects one argument" end end