#cp.rx.go.Statement.Modifier

A Statement.Modifier is an extension to a Statement that provides additional configuration details. They are initiated via the modifier method of a defined Statement.

All Statement.Modifier instances will also have the methods defined by Statement.


#Submodules


#API Overview

Functions - API calls offered directly by the extension

Methods - API calls which can only be made on an object returned by a constructor


#API Documentation

#Functions

Signaturecp.rx.go.Statement.Modifier.is(thing) -> boolean
TypeFunction
DescriptionChecks if the thing is a Statement.Modifier.
Parameters
  • thing - The thing to check.
Returns
  • true if the thing is a Statement.Modifier.
NotesNone
ExamplesNone
Sourcesrc/extensions/cp/rx/go/Statement.lua line 853

#Methods

Signaturecp.rx.go.Statement.Modifier:context() -> table
TypeMethod
DescriptionReturns the context table for the Statement.Modifier.
Parameters
  • None
Returns
  • The context table.
Notes
  • The context is shared between the Statement and all Statement.Modifiers when being executed.
ExamplesNone
Sourcesrc/extensions/cp/rx/go/Statement.lua line 866

Signaturecp.rx.go.Statement.Modifier:toObservable() -> cp.rx.Observable
TypeMethod
DescriptionCreates a new Observable instance for the current configuration.
Parameters
  • None
Returns
  • The new Observable instance.
NotesNone
ExamplesNone
Sourcesrc/extensions/cp/rx/go/Statement.lua line 882