Learn R Programming

aisdk (version 1.1.0)

z_boolean: Create Boolean Schema

Description

Create a JSON Schema for boolean type.

Usage

z_boolean(description = NULL, nullable = FALSE, default = NULL)

Value

A list representing JSON Schema for boolean.

Arguments

description

Optional description of the field.

nullable

If TRUE, allows null values.

default

Optional default value.

Examples

Run this code
z_boolean(description = "Whether to include details")

Run the code above in your browser using DataLab