GraphQL\Type\Definition\BooleanType::parseValue PHP Method

parseValue() public method

public parseValue ( mixed $value ) : boolean
$value mixed
return boolean
    public function parseValue($value)
    {
        return !!$value;
    }