[F] getPatternData
function getPatternData(program, target): PatternData | undefined
Gets the associated pattern data, including the pattern regular expression and optional validation message, if any has been set.
Parameters
Parameter | Type | Description |
---|---|---|
program | Program | the Program containing the target Type |
target | Type | the type to get the pattern data for |
Returns
PatternData
| undefined
the pattern data, if any was set