Skip to content
This repository has been archived by the owner on Jun 9, 2023. It is now read-only.

Latest commit

 

History

History
31 lines (23 loc) · 1.82 KB

cp.rx.go.Require.Matches.md

File metadata and controls

31 lines (23 loc) · 1.82 KB

docs » 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

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.

Methods

Signature cp.rx.go.Require.Matches:OrThrow(...) -> Require.OrThrow
Type Method
Description Specifies what is thrown if the Require test fails.
Parameters
  • ... - The list of resolvable items to process.
Returns