-
-
Notifications
You must be signed in to change notification settings - Fork 474
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
Maybe not actually a bug, but isGuestAccount shouldn't accept values that arent accounts, or if it does it should have a different return value.
isGuestAccount("something")
will return false, same with any other value that is not an account
There is a warning being thrown out, but the return value should be something different than false, maybe nil
so isGuestAccount should return another value to differentiate
Maybe it should return true, since probably the only reason you are checking if an account is guest is to negate this value and cancel the method/function.
Steps to reproduce
- start runcode
- /run isGuestAccount("something")
Version
No response
Additional context
No response
Relevant log output
Security Policy
- I have read and understood the Security Policy and this issue is not security related.To pick up a draggable item, press the space bar. While dragging, use the arrow keys to move the item. Press space again to drop the item in its new position, or press escape to cancel.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
Type
Projects
Milestone
Relationships
Development
Select code repository
Activity
isAccount()
#4248isGuestAccount
: return nil on invalid input #4312