NAME

Sidef::Types::Hash::Hash

DESCRIPTION

This class implements ...

SYNOPSIS

var obj = Hash(...)

INHERITS

Inherits methods from:

* Sidef::Object::Object

METHODS

&

a & b

Returns the

Aliases: and, intersection

+

a + b

Returns the

Aliases: merge, concat

-

a - b

Returns the

Aliases: sub, diff, difference

...

a ... b

Returns the

Aliases: to_list

==

a == b

Returns the

Aliases: eq

^

a ^ b

Returns the

Aliases: xor, symdiff, symmetric_difference

|

a | b

Returns the

Aliases: or, union

a ≠ b

Returns the

Aliases: !=, ne

append

self.append(:pairs)

Returns the

as_tree

self.as_tree(root)

Returns the

clear

self.clear

Returns the

collect

self.collect(block)

Returns the

Aliases: collect_kv

count

self.count(obj)

Returns the

count_by

self.count_by(block)

Returns the

delete

self.delete(*keys)

Returns the

Aliases: remove

delete_if

self.delete_if(block)

Returns the

dig

self.dig(key, *keys)

Returns the

each

self.each(obj)

Returns the

Aliases: each_kv, each_pair

each_k

self.each_k(block)

Returns the

Aliases: each_key

each_v

self.each_v(block)

Returns the

Aliases: each_value

fetch

self.fetch(key, default)

Returns the

flip

self.flip

Returns the

Aliases: invert, reverse

get_pair

self.get_pair(key)

Returns the

get_pairs

self.get_pairs(*keys)

Returns the

grep

self.grep(block)

Returns the

Aliases: grep_kv, select

grep_v

self.grep_v(block)

Returns the

Aliases: grep_val

has

self.has(key)

Returns the

Aliases: exists, has_key, haskey, contain, include, contains, includes

is_empty

self.is_empty

Returns the

item

self.item(key)

Returns the

items

self.items(*keys)

Returns the

keys

self.keys

Returns the

kv

self.kv

Returns the

Aliases: to_a, pairs, to_array

len

self.len

Returns the

Aliases: size, length

lsel

self.lsel(keys)

Returns the

Aliases: linsel, linear_selection

map

self.map(block)

Returns the

Aliases: map_kv

map_v

self.map_v(block)

Returns the

Aliases: map_val

max_by

self.max_by(block)

Returns the

merge_values

self.merge_values(obj)

Returns the

min_by

self.min_by(block)

Returns the

new

self.new

Returns the

Aliases: call

same_keys

self.same_keys(obj)

Returns the

set_keys

self.set_keys(*keys)

Returns the

slice

self.slice(*keys)

Returns the

sort

self.sort(block)

Returns the

sort_by

self.sort_by(block)

Returns the

to_bag

self.to_bag

Returns the

to_s

self.to_s

Returns the

Aliases: dump, to_str

to_set

self.to_set

Returns the

values

self.values

Returns the