azure-storage-table/src/Table/Models/BatchOperationType.php
public static function isValid($type)
    {
        switch ($type) {
            case self::INSERT_ENTITY_OPERATION:
            case self::UPDATE_ENTITY_OPERATION:
            case self::DELETE_ENTITY_OPERATION:
            case self::MERGE_ENTITY_OPERATION:
            case self::INSERT_REPLACE_ENTITY_OPERATION:
            case self::INSERT_MERGE_ENTITY_OPERATION:
                return true;
            default:
                return false;
        }
    }
public static function isValid($type)
    {
        switch ($type) {
            case self::INSERT_ENTITY_OPERATION:
            case self::UPDATE_ENTITY_OPERATION:
            case self::DELETE_ENTITY_OPERATION:
            case self::MERGE_ENTITY_OPERATION:
            case self::INSERT_REPLACE_ENTITY_OPERATION:
            case self::INSERT_MERGE_ENTITY_OPERATION:
                return true;
            default:
                return false;
        }
    }
Validates if $type is already defined.

@param string $type The operation type.

@internal

@return boolean