Skip to content

Commit

Permalink
export isNonNullableKeys
Browse files Browse the repository at this point in the history
  • Loading branch information
jacksonneal committed Oct 9, 2024
1 parent ff9b80e commit fdf69c5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions libs/ts-standard/src/filter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ export function isNonNullable<T>(value: Nullable<T>): value is NonNullable<T> {
* Check if an object has `NonNullable` values for the given keys.
*
* @typeParam T - type of value to check
* @typeParam K - keys of `T` to check
*
* @param keys - to check values of
* @returns - function to check a given value
Expand Down
2 changes: 1 addition & 1 deletion libs/ts-standard/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
* @module ts-standard
*/

export { isNonNullable } from './filter';
export { isNonNullable, isNonNullableKeys } from './filter';
export type { NonNullableKeys, Nullable, Opt } from './type';

0 comments on commit fdf69c5

Please sign in to comment.