Learn R Programming

nanonext (version 0.5.4)

is_nano: Is Nano

Description

Is the object an object created by the nanonext package i.e. a nanoSocket, nanoContext, nanoStream, nanoListener, nanoDialer or nano Object.

Usage

is_nano(x)

Value

Logical value TRUE or FALSE.

Arguments

x

an object.

Details

Note: does not include Aio objects, for which there is a separate function is_aio.

Examples

Run this code
s <- socket()
is_nano(s)
n <- nano()
is_nano(n)

close(s)
n$close()

Run the code above in your browser using DataLab