Ruby 2.6.0 リファレンスマニュアル > ライブラリ一覧 > rakeライブラリ > Rake::InvocationChain::EmptyInvocationChainクラス > member?
member?(task_name) -> bool
偽を返します。