feat: added basic string checker

pull/243/head
Josh Moore 1 year ago
parent 8a17624db2
commit 97fa3acb1a

@ -11,6 +11,11 @@ const numChecker = (val: any) => {
catch (err) { return false; }
}
/**
* Returns a boolean if the provided value is a non-empty string
*/
const basicStringChecker = (val: any) => typeof val === 'string' && val.length > 0;
/**
* User-config property type checker functions
*/

Loading…
Cancel
Save