14 lines
246 B
Python
Raw Permalink Normal View History

2023-12-01 13:34:27 +01:00
"""A utility module for ASP (Active Server Pages on MS Internet Info Server.
Contains:
iif -- A utility function to avoid using "if" statements in ASP <% tags
"""
def iif(cond, t, f):
if cond:
return t
else:
return f