hash-ops {tictactoe} | R Documentation |
Hash Operations for Single State
haskey(x, ...)
## S3 method for class 'xhash'
x[state, ...]
## S3 replacement method for class 'xhash'
x[state, ...] <- value
## S3 method for class 'xhash'
haskey(x, state, ...)
x |
object |
... |
additional arguments to determine the key |
state |
state object |
value |
value to assign |
haskey
returns a logical
`[`
returns a reference to the object
`[<-`
returns a value