- Preparing search index...
- The search index is not available
@fold-dev/core
- createState(initState): ((selector, equalityFn?) => any)
-
Returns ((selector, equalityFn?) => any)
-
- (selector, equalityFn?): any
-
Parameters
-
selector: any
-
equalityFn: ((value1, value2) => boolean) = Object.is
-
- (value1, value2): boolean
-
Returns boolean
Returns any
Returns true if the values are the same value, false otherwise.