Skip to content

Check if worksheet_id is a number and greater than 0 - #10

Merged
theoephraim merged 1 commit into
theoephraim:masterfrom
k88hudson:master
May 28, 2014
Merged

Check if worksheet_id is a number and greater than 0#10
theoephraim merged 1 commit into
theoephraim:masterfrom
k88hudson:master

Conversation

@k88hudson

Copy link
Copy Markdown
Contributor

Since 0 is a valid worksheet_id, this check is more accurate than just checking !worksheet_id

theoephraim added a commit that referenced this pull request May 28, 2014
Check if worksheet_id is a number and greater than 0
@theoephraim
theoephraim merged commit c29ccda into theoephraim:master May 28, 2014
@theoephraim

Copy link
Copy Markdown
Owner

This looks fine. But how can the worksheet ID be 0? I thought the index started at 1.

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