class Sexp

Public Instance Methods

array_type?() click to toggle source

Returns true if the node_type is array or args.

# File lib/typed_sexp.rb, line 15
def array_type?
  type = self.sexp_type
  @@array_types.include? type
end
Also aliased as: array_type?