• Validate if the provided value object is of the expected type

    Parameters

    • value: any

      The value to check

    • theType: string

      The expected type name as a string

    Returns boolean

    true if the value matches the provided type