# cp.rx.go.Require.Matches

Specifies that the Required value Matches a function predicate.

# API Overview

Constants - Useful values which cannot be changed

  • Matches

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

  • OrThrow

# API Documentation

# Constants

# Matches

Signature cp.rx.go.Require.Matches <cp.rx.go.Statement.Modifier>
Type Constant
Description A Statement.Modifier that sets a predicate function that checks values from the requirement.
Notes None
Source src/extensions/cp/rx/go/Require.lua line 213

# Methods

# OrThrow

Signature cp.rx.go.Require.Matches:OrThrow(...) -> Require.OrThrow
Type Method
Description Specifies what is thrown if the Require test fails.
  • ... - The list of resolvable items to process.
Notes None
Examples None
Source src/extensions/cp/rx/go/Require.lua line 240