import {
isEmptyObject, setObjProperty, getObjProperty, objectToStr, strToObject,
isValidNIP, isValidREGON, isValidEmail,
devOnly, isNotBlank
} from 'i-react-utils';
bool isEmptyObject(object)
- true if object has no it's own properties
bool isNotBlank(string)
- true if string is not blank
void setObjProperty(obj, propertyPath, value)
- set object property for propertyPath
equal to a.b
result is {a:{b:value}}
object getObjProperty(obj, propertyPath)
- get property value. See description for setObjProperty(obj, propertyPath, value)
void devOnly(callback)
- execute callback
only when running in development mode
bool isValidNIP(string)
bool isValidREGON(string)
bool isValidEmail(string)
object strToObject(str, propSplit, valueSplit)
string objectToStr(obj, propJoin, valueJoin)