TriggerReactor

TriggerReactor

24.6k Downloads

add matches validator.

son-daehyeon opened this issue · 1 comments

commented

check value matched arg(regexp).

example:

var validation = {
  overloads: [
    [
      { type: 'string', name: 'type', matches: 'add|remove|edit' }
    ],
  ],
}
commented

Jesus, This sounds like charm. This would reduce many duplicated codes for many PHs and EXs. 👍