Skip to content

Commit

Permalink
rename isNull to nullable
Browse files Browse the repository at this point in the history
  • Loading branch information
dwightjack committed Mar 2, 2022
1 parent 1e361ce commit c84dd73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/validators/native.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,6 @@ export const symbol = () =>
},
})

export const isNull = () => ({
export const nullable = () => ({
type: null as unknown as PropType<null>,
})

0 comments on commit c84dd73

Please sign in to comment.