is_embedded: Is the GWAS response wrapped in an '_embedded' object?

View source: R/request.R

is_embeddedR Documentation

Is the GWAS response wrapped in an '_embedded' object?

Description

Checks if the response is wrapped in an '_embedded' object by checking if an element named '_embedded' exists.

Usage

is_embedded(obj)

Arguments

obj

The response object as return by jsonlite::fromJSON.

Value

A logical value.


ramiromagno/gwasrapidd documentation built on Jan. 3, 2024, 10:21 p.m.