The prop
parameter is of type PropType
. It represents a property that
is being checked for strictness.
The strict
parameter is a boolean or string that determines
whether the code should be executed in strict mode. If it is a boolean, the function will return the
value of strict
. If it is a string, the function will check if the first character of the prop
parameter is included
a boolean value.
Generated using TypeDoc
The function
isStrict
checks if a given property type matches a strict mode, returning a boolean value.