Typeplugin-kysely-postgresv0.3.0
IsOptionalKeyOf
Returns a boolean for whether the given key is an optional key of type.
This is useful when writing utility types or schema validators that need to differentiate optional keys.
Type
Type extends objectKey
Key extends keyof Type