Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/bitnbytesio/node-input-validator
/ addPostRules
Method
addPostRules
lib/validator.js:144–148 ·
view source on GitHub ↗
* add set of post rules * * @param rules {string[]}
(rules)
Source
from the content-addressed store, hash-verified
142
* @param rules {string[]}
143
*/
144
addPostRules(rules) {
145
146
rules.map((rule) => this.addPostRule(rule));
147
148
}
149
150
/**
151
* validate inputs
Callers
2
parseRules
Method · 0.95
makeValidationsFromArray
Method · 0.95
Calls
1
addPostRule
Method · 0.95
Tested by
no test coverage detected