is_valid_graphql_name
is_valid_graphql_name( string $type_name ): bool;
Check if the name is valid for use in GraphQL
- Since: 0.14.0
- Source File:
plugins/wp-graphql/access-functions.php
Parameters
$type_name(string): The name of the type to validate
Return
bool: True if the name is valid for use in GraphQL, false otherwise.
Source
function is_valid_graphql_name( string $type_name ): bool {