get data type from local constatns