1.0.3 • Published 6 years ago
t2s-rn-utils v1.0.3
What is this?
Utility methods for react native projects
Installation
npm i t2s-rn-utils --save
Then...
import {isValidElement} from 't2s-rn-utils';
isValidElement(data);
Options
It always returns boolean (True || False), if the element is valid and defined it will return true, else it will return false
- data - Elements to be checked if it is valid or not