Check types in var command