optionalValue

Return

true or false based on the if argument if the optional directive is present, null otherwise


fun List<GQLDirective>.optionalValue(schema: Schema?): Boolean?