Skip to contents

Return default value if NULL

Usage

null_to_default(x, d)

Arguments

x

value to check and return

d

value to return in case x is NULL