Created
October 27, 2018 16:32
-
-
Save alizhdanov/4730f82707357e78bbf0f93073699310 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
import { Kind } from 'graphql'; | |
function parseLiteral(value) { | |
return ast.kind === Kind.BOOLEAN ? ast.value : undefined; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment