Package 'isnullptr'

Title: Check if an 'externalptr' is a Null Pointer
Description: Check if an 'externalptr' is a null pointer. R does currently not have a native function for that purpose. This package contains a C function that returns TRUE in case of a null pointer.
Authors: Jonas Förster [aut, cre]
Maintainer: Jonas Förster <[email protected]>
License: GPL-3
Version: 1.0.2
Built: 2025-02-19 04:43:27 UTC
Source: https://github.com/jonasfoe/isnullptr

Help Index


Check if an 'externalptr' is a null pointer

Description

isnullptr checks if an object of type 'externalptr' is a null pointer.

Usage

isnullptr(pointer)

Arguments

pointer

object of type 'externalptr'

Value

TRUE if null pointer, FALSE otherwise

Examples

isnullptr(new("externalptr"))
isnullptr("any_data")