mirror of
https://github.com/wneessen/niljson.git
synced 2024-11-24 14:40:48 +01:00
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.
This commit is contained in:
parent
754b2b90aa
commit
68fe249669
1 changed files with 2 additions and 2 deletions
|
@ -69,8 +69,8 @@ func (v *Variable[T]) NotNil() bool {
|
||||||
return v.notNil
|
return v.notNil
|
||||||
}
|
}
|
||||||
|
|
||||||
// Ommited returns true if a value was omitted in the JSON
|
// Omitted returns true if a value was omitted in the JSON
|
||||||
func (v *Variable[T]) Ommited() bool {
|
func (v *Variable[T]) Omitted() bool {
|
||||||
return !v.present
|
return !v.present
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue