pub fn is_builtin(&self) -> bool {
        if let Some(name) = self.name() {
            // "used exclusively by GraphQL’s introspection system"
            {
                name.starts_with("__") ||
            // <https://facebook.github.io/graphql/draft/#sec-Scalars>
            name == "Boolean" || name == "String" || name == "Int" || name == "Float" || name == "ID" ||
            // Our custom empty markers
            name == "_EmptyMutation" || name == "_EmptySubscription"
            }
        } else {
            false
        }
    }
/// Returns true if the type is built-in to GraphQL.
Returns true if the type is built-in to GraphQL.
Returns true if the type is built - in to GraphQL .
pub fn is_builtin(&self) -> bool {
        if let Some(name) = self.name() {
            // "used exclusively by GraphQL’s introspection system"
            {
                name.starts_with("__") ||
            // <https://facebook.github.io/graphql/draft/#sec-Scalars>
            name == "Boolean" || name == "String" || name == "Int" || name == "Float" || name == "ID" ||
            // Our custom empty markers
            name == "_EmptyMutation" || name == "_EmptySubscription"
            }
        } else {
            false
        }
    }
pub fn is_builtin ( & self ) -> bool { if let Some ( name ) = self . name ( ) { // "used exclusively by GraphQL’s introspection system" { name . starts_with ( " " ) || // <https://facebook.github.io/graphql/draft/#sec-Scalars> name == " " || name == " " || name == " " || name == " " || name == " " || // Our custom empty markers name == " " || name == " " } } else { false } }
Returns true if the type is built-in to GraphQL.
Returns true if the type is built - in to GraphQL .
&self
&self