Checks if the given value is defined.
Related
Syntax
import { isDef } from '@opentf/std';
isDef(value: unknown): boolean;
Examples
isDef() //=> false
isDef(undefined) //=> false
isDef(null) //=> true
isDef('') //=> true
isDef(0) //=> true
isDef([]) //=> true
isDef({}) //=> true