public static function isValidHtmlType(array $properties)
    {
        return Helpers::isKeyExists($properties, 'html-type') &&
            (
            in_array($properties['html-type'], self::$validHtmlTypes)
            || self::isValidSelectRangeType($properties)
        );
    }
public static function isValidHtmlType(array $properties)
    {
        return Helpers::isKeyExists($properties, 'html-type') &&
            (
            in_array($properties['html-type'], self::$validHtmlTypes)
            || self::isValidSelectRangeType($properties)
        );
    }
public static function isValidHtmlType ( array $ properties ) { return Helpers :: isKeyExists ( $ properties , 'html-type' ) && ( in_array ( $ properties [ 'html-type' ] , self :: $ validHtmlTypes ) || self :: isValidSelectRangeType ( $ properties ) ) ; }
Checks if a field contains a valid html-type name

@param array $properties

@return bool
Checks if a field contains a valid html - type name