parameterValueMatchesType()
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production. See API maturity.
Tests whether value’s runtime kind matches the given parameter definition’s type, ignoring constraints.
export declare function parameterValueMatchesType(definition: IParameterDefinition, value: ParameterValue): boolean;
Parameters
Parameter | Type | Description |
|---|---|---|
definition | ||
value |
Returns
boolean