# ref? Check if a value is a ref cell (either an anonymous ref or a `[var x]` binding cell). Use `var?` to test specifically for binding cells. ## Syntax
[ref? $val]
## Parameters - `$val` — Any value. ## Examples
[ref? [ref 0]]      # true
[ref? [var ready]]  # true (binding cell)
[ref? 42]           # false
[ref? nil]          # false
## Returns Boolean. ## See Also `var?`, `ref`, `deref`, `type`