check_property: Check that a value is present if required and conforms to the...

Description Usage Arguments Value

View source: R/typing.R

Description

Check that a value is present if required and conforms to the specified type for a property.

Usage

1
check_property(type_name, property_name, is_required, is_missing, type, value)

Arguments

type_name

The name of the type that they property is on

property_name

The name of the property

is_required

Is a value for the property required?

is_missing

Is a value for the property missing?

type

The type to check against

value

The value to check

Value

The value, if it is valid, nothing otherwise


stencilaschema documentation built on Feb. 22, 2021, 5:05 p.m.