Skip to content

Option::isSet('foo') #61

Description

@masicek

Flag if option is set

Example:

Option::stgring('foo')->value(FALSE)->default(TRUE)

php run.php    --->    $options->get('foo') == TRUE
php run.php --foo    --->    $options->get('foo') == TRUE
php run.php --foo ahoj   --->    $options->get('foo') == 'ahoj'

php run.php    --->    $options->isSet('foo') == FALSE
php run.php --foo    --->    $options->isSet('foo') == TRUE
php run.php --foo ahoj   --->    $options->IsSet('foo') == TRUE

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions