Skip to content

Function: embedPropsError() ​

ts
function embedPropsError(kind, props): string | null;

Why props are not valid for kind, or null when they are. Missing optional fields are fine; unknown fields, wrong types and values out of range are not.

Parameters ​

ParameterType
kindEmbedKind
propsunknown

Returns ​

string | null