Learn R Programming

RProtoBuf (version 0.2.6)

is_extension-methods: Indicates if a field descriptor is an extension

Description

Indicates if a field descriptor is an extension

Arguments

See Also

The method is implemented for the FieldDescriptor class

Examples

Run this code
proto.file <- system.file( "proto", "addressbook.proto", package = "RProtoBuf" )
Person <- P( "tutorial.Person", file = proto.file )
is_extension(Person$id)

Run the code above in your browser using DataLab