Lines Matching refs:if
26 if (args.length === 0) {
29 if (this.wrap && this.shouldApplyLayoutDSL(...args) && typeof args[0] === 'string') {
33 if (typeof arg === 'string') {
53 if (columns.length > 1 && mixin.stringWidth(columns[0]) > leftColumnWidth) {
101 if (wrapWidth > mixin.stringWidth(col)) {
105 if (row[c].align && row[c].align !== 'left' && this.wrap) {
108 if (mixin.stringWidth(ts) < wrapWidth) {
114 if (padding[left]) {
120 if (padding[right]) {
123 // if prior row is span, try to render the
125 if (r === 0 && lines.length > 0) {
137 // if the full 'source' can render in
144 if (!previousLine.span) {
147 // if we're not applying wrapping logic,
149 if (!this.wrap) {
153 if (leadingWhitespace < targetTextWidth) {
168 if (this.wrap) {
174 if (col.border) {
179 if (col.padding) {
184 if (!rrows[r]) {
189 if (rrow[i] === undefined) {
200 if (col.padding) {
203 if (col.border) {
209 if (!this.wrap) {
218 if (col.width) {
228 if (w === undefined) {
236 if (col.border) {
237 if (/[.']-+[.']/.test(ts)) {
240 if (ts.trim().length !== 0) {
252 if (col.border) {
259 if (typeof process === 'object' && process.stdout && process.stdout.columns) {
267 if (strWidth < width) {
276 if (strWidth >= width) {