Function isStrict

  • The function isStrict checks if a given property type matches a strict mode, returning a boolean value.

    Parameters

    • prop: PropType

      The prop parameter is of type PropType. It represents a property that is being checked for strictness.

    • strict: string | boolean = STRICT

      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

    Returns boolean

    a boolean value.

Generated using TypeDoc