Skip to content

Conversation

@LinaShadrach
Copy link
Contributor

  • this PR moves some checks that were in lio into qlbridge for value types:
    • add IsZero() bool method to Value interface
    • add ValueType.Zero() Value
  • creates new files for organization

@LinaShadrach LinaShadrach self-assigned this Aug 18, 2022
Value() interface{}
ToString() string
Type() ValueType
IsZero() bool
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is the new method

return false
}

func (m ValueType) Zero() Value {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is the new method (all other changes are just moving code into separate files)

@LinaShadrach
Copy link
Contributor Author

/gcbrun

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants