Learn R Programming

tictactoe (version 0.2.2)

hash-ops: Hash Operations for Single State

Description

Hash Operations for Single State

Usage

haskey(x, ...)

# S3 method for xhash [(x, state, ...)

# S3 method for xhash [(x, state, ...) <- value

# S3 method for xhash haskey(x, state, ...)

Arguments

x
object
...
additional arguments to determine the key
state
state object
value
value to assign

Value

  • haskey returns a logical
  • `[` returns a reference to the object
  • `[<-` returns a value