UNPKG

frontity

Version:

Frontity cli and entry point to other packages

14 lines (13 loc) 502 B
/** * Util to know if a property from the state is "derived". Useful for those * properties of the state that are defined as "derived", but can be overwritten * by the user. * * @example isDerived(state.wpSource, "isWpCom"); * * @param obj - The object from the state that contains the property. * @param propName - The property name. * @returns True if derived, false if not derived or overwritten. */ declare const isDerived: (obj: any, propName: any) => boolean; export default isDerived;