isForce method

bool isForce(
  1. ArtisanContext ctx
)
inherited

Returns true when the operator passed --force.

@param ctx The active ArtisanContext handed to handle. @return The boolean value of the --force flag.

Implementation

bool isForce(ArtisanContext ctx) => ctx.input.option('force') as bool;