The type of the data object to filter, must be an object.
The keys to exclude from the data object.
Boolean flag type to determine if properties with null or undefined values should be excluded.
The data object to be filtered.
The array of keys to exclude from the data object. (Can be empty)
Optional
excludeNullUndefined: TExcludeNullUndefinedFlag to determine if properties with null or undefined values should be excluded.
The filtered data object with the specified keys excluded. (TObject)
(BasaltError) - Throws an error if the data is null or undefined. (dataErrorKeys.dataIsNull)
(BasaltError) - Throws an error if the data is not a plain object. (dataErrorKeys.dataMustBeObject)
Filters the provided data by excluding the specified keys, with an option to exclude null or undefined values. Uses a generic type parameter to control the return type based on the excludeNullUndefined flag.