Restricting Macro to accept only one value for an argument

I want to restrict macro to accept only one value for an argument. Any ideas?

I am new to dbt so not sure what to do in this case.

@Harikrishnan
Can you give me an example