Created
April 23, 2018 00:43
-
-
Save a-one-d-one/e673e6c5423713282379bbffff8b7dfa to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports.isPrivateTab = (state, frameKey) => { | |
const frame = frameStateUtil.getFrameByKey(state, frameKey) | |
if (frame == null) { | |
return false | |
} | |
return !!frame.get('isPrivate') | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment