public JSType createOptionalNullableType ( JSType type ) { return createUnionType ( type , getNativeType ( JSTypeNative . VOID_TYPE ) , getNativeType ( JSTypeNative . NULL_TYPE ) ) ; }
Creates a nullable and undefine - able value of the given type .