Effect CommunityEC
Effect Community2y ago
8 replies
Josh

Coalescing Optional Properties: Fallback from `published` to `isPublished`

Is there a way to coalesce optional properties? Say if published is not present, get the value from isPublished, and fail if both are not present.
Was this page helpful?