mirror of
https://github.com/wneessen/niljson.git
synced 2024-11-23 22:20:50 +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
|
||||
}
|
||||
|
||||
// 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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue