Gems/EMotionFX/Code/MCore/Source/CommandLine.cpp
bool CommandLine::CheckIfHasValue(const char* paramName) const
    {
        // try to find the parameter index
        const size_t paramIndex = FindParameterIndex(paramName);
        if (paramIndex == InvalidIndex)
        {
            return false;
        }

        // return true the parameter has a value that is not empty
        return (m_parameters[paramIndex].m_value.empty() == false);
    }
// check if a given parameter has a value
check if a given parameter has a value
check if a given parameter has a value
bool CommandLine::CheckIfHasValue(const char* paramName) const
    {
        const size_t paramIndex = FindParameterIndex(paramName);
        if (paramIndex == InvalidIndex)
        {
            return false;
        }
        return (m_parameters[paramIndex].m_value.empty() == false);
    }
bool CommandLine :: CheckIfHasValue ( const char * paramName ) const { const size_t paramIndex = FindParameterIndex ( paramName ) ; if ( paramIndex == InvalidIndex ) { return false ; } return ( m_parameters [ paramIndex ] . m_value . empty ( ) == false ) ; }
check if a given parameter has a value
check if a given parameter has a value
// try to find the parameter index // return true the parameter has a value that is not empty