# 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

  • is

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

  • context
  • toObservable

# API Documentation

# Functions

# is

Signature cp.rx.go.Statement.Modifier.is(thing) -> boolean
Type Function
Description Checks if the thing is a Statement.Modifier.
Parameters
  • thing - The thing to check.
Returns
  • true if the thing is a Statement.Modifier.
Notes None
Examples None
Source src/extensions/cp/rx/go/Statement.lua line 853

# Methods

# context

Signature cp.rx.go.Statement.Modifier:context() -> table
Type Method
Description Returns 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.
Examples None
Source src/extensions/cp/rx/go/Statement.lua line 866

# toObservable

Signature cp.rx.go.Statement.Modifier:toObservable() -> cp.rx.Observable
Type Method
Description Creates a new Observable instance for the current configuration.
Parameters
  • None
Returns
  • The new Observable instance.
Notes None
Examples None
Source src/extensions/cp/rx/go/Statement.lua line 882