From 68fe249669c63564bf51f6e3646836e6ddf3d3c7 Mon Sep 17 00:00:00 2001 From: Winni Neessen Date: Wed, 11 Sep 2024 11:34:59 +0200 Subject: [PATCH] Fix typo in `Omitted` method name Corrected the spelling of the `Omitted` method to ensure consistency and avoid potential confusion. This change does not affect the functionality but improves code readability and accuracy. --- niljson.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/niljson.go b/niljson.go index 96ca14e..5aa2c09 100644 --- a/niljson.go +++ b/niljson.go @@ -69,8 +69,8 @@ func (v *Variable[T]) NotNil() bool { return v.notNil } -// Ommited returns true if a value was omitted in the JSON -func (v *Variable[T]) Ommited() bool { +// Omitted returns true if a value was omitted in the JSON +func (v *Variable[T]) Omitted() bool { return !v.present }