# ispointer proc

Source: https://ref.dm-lang.org/proc/ispointer
Added in BYOND 515.

### Format
> `ispointer(Value)`

### Args
> Value: The value to test

### Returns
> 1 if the value is a pointer; 0 otherwise.

Tests whether an value is a pointer.

> [!note]
> 
> This does not check if the pointer is still valid, like for instance if the object it belongs to has been deleted, or if it points to a list index that is now out of bounds.

### See also
- [\* operator (pointers)](https://ref.dm-lang.org/operator/asterisk/index.md)
- [& operator (pointers)](https://ref.dm-lang.org/operator/amp/index.md)
