The filtered data object with properties satisfying the predicate. (T)
(BasaltError) - Throws an error if the data is null or undefined. (CORE_DATA_KEY_ERROR.DATA_IS_NULL)
(BasaltError) - Throws an error if the data is not a plain object. (CORE_DATA_KEY_ERROR.DATA_MUST_BE_OBJECT)
Filters the provided data based on a predicate applied to its values. The resulting object will only include properties whose values satisfy the predicate function. Properties with null or undefined values can be optionally excluded based on the 'excludeNullUndefined' flag.