late-chef-72896
04/01/2025, 8:30 AMechoing-dinner-19531
04/01/2025, 9:32 AMstr.ApplyT(func(v string) (bool, error) {
if v == "" {
return false, nil
}
return true, nil
}).(pulumi.BoolOutput)
You'll get a BoolOutput rather than a bool, but that's unavoidable.late-chef-72896
04/01/2025, 9:52 AMlate-chef-72896
04/01/2025, 9:55 AMpulumi.stringarray
which can be checked with len()