Match

Match

Source:
See:

Meteor Match - Extending Meteor Match argument checking

Extends

  • Meteor/Check

Methods

(static) OptionalOrNull(pattern) → {Boolean}

Return whether an argument is optional or null

Source:
Example
check(options, Match.OptionalOrNull(Object))
Parameters:
Name Type Description
pattern String

match pattern

Returns:

matches - void, null, or pattern

Type
Boolean

(static) OrderHookOption() → {Boolean}

Source:
Example
check(options, Match.OrderHookOptions())
Returns:

matches - void, null, or pattern

Type
Boolean