From a7b90d51fc7bf5eb5f347503a78a614866e88bef Mon Sep 17 00:00:00 2001 From: Santi Date: Sat, 16 Apr 2022 13:44:21 +0200 Subject: [PATCH] Fixes typos isInAny --- packages/core/src/createState.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/core/src/createState.ts b/packages/core/src/createState.ts index 75c07d2..7dabfa8 100644 --- a/packages/core/src/createState.ts +++ b/packages/core/src/createState.ts @@ -603,9 +603,9 @@ export function createState< * @param paths The paths to check * @public * @example - * state.isIn("playing") - * state.isIn("playing.paused") - * state.isIn("on", "stopped") // true if EITHER state is active + * state.isInAny("playing") + * state.isInAny("playing.paused") + * state.isInAny("on", "stopped") // true if EITHER state is active * */ function isInAny(...paths: string[]): boolean {