Array of messageIds or single string if only one messageId is used. When an array is passed, first messageId is used for omitted values and second for invalid values.
whether default (undefined) values are allowed or if it must be set
property name to search in the object (Array of strings for nested props)
Optional
values: ValuesByTypeallowed or disallowed values
whether the function must report or just return conflicting Node when conditions are not met
position of the argument to be analysed (3rd argument by default)
Function to analyse arguments in a function and check for correct values. It will report if the conditions are not met unless
silent = true
, in which case it will return booleantrue
indicating conditions are not met.