php/WP_CLI/SynopsisValidator.php
public function enough_positionals( $args ) {
		$positional = $this->query_spec(
			array(
				'type'     => 'positional',
				'optional' => false,
			)
		);

		return count( $args ) >= count( $positional );
	}
public function enough_positionals( $args ) {
		$positional = $this->query_spec(
			array(
				'type'     => 'positional',
				'optional' => false,
			)
		);

		return count( $args ) >= count( $positional );
	}
public function enough_positionals ( $ args ) { $ positional = $ this -> query_spec ( array ( 'type' => 'positional' , 'optional' => false , ) ) ; return count ( $ args ) >= count ( $ positional ) ; }
Check whether there are enough positional arguments.

@param array $args Positional arguments.
@return bool
Check whether there are enough positional arguments .