mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 08:52:34 +00:00
Fixed #4125 - Pass Through Props: Syntactic improvement suggestion
This commit is contained in:
parent
9cdbd621f1
commit
5f09ecd0a0
88 changed files with 110 additions and 88 deletions
|
@ -234,6 +234,10 @@ export default {
|
|||
return value !== null && Array.isArray(value);
|
||||
},
|
||||
|
||||
isString(value) {
|
||||
return value !== null && typeof value === 'string';
|
||||
},
|
||||
|
||||
isPrintableCharacter(char = '') {
|
||||
return this.isNotEmpty(char) && char.length === 1 && char.match(/\S| /);
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue